optimize mysql writes using the multi-row values syntax