Instrument mysql2 queries