Esistono le EXPLAIN.

http://dev.mysql.com/doc/refman/5.0/en/explain.html