Added index to speedup batch_execute inserts