How to detect performance problems in MySQL using slow query analysis