Added log for MySQL slow queries