Optionally EXPLAIN all SQL queries when in debug mode