All MySQL queries optimized.