Don't try to EXPLAIN select_db calls

Backport of #10553.

@fxn