Mysql slow query logs

Suggestions TODO:

* Log with multiple queries in
* Cap query length