Turn on MySQL slow query log

Fixes #318