Use MySQL multi-inserts when possible