UHM-1728: MySQL performance tweaks