On the server I have two databases. db production and db_test production, the two are the same in fields, tables, relationships, etc, since tests are done with db_test production. The problem arises when I want to make a simple query in PHPMYADMIN, a select with two conditions. In the production brings 150 records and in the test brings 183 records, to compare the execution time of the query in the two databases. In the production, which users use constantly delays in bringing the 150 records to about 8 seconds and the test takes 1 second. My question is: Should not they take a very similar time, since it is the same server that responds? What is the problem and possible solution?