Trekksoft Interview Question

How to handle expensive MySQL queries.