Deleting a large number of rows in MySQL