MySQL slow query log parser