Fix high CPU usage by WordPress and MySQL