I like Jetbrains DataGrip for this.
If you execute a modifying query without a where clause it will stop you and double check that's what you intended to do.
Likewise you can specify a database connection as read-only so that it wont run modifier queries at all, attempting to do so will stop you but you can then explicitly run it if you need to.