Query based on a field with a non-primary key and a secondary index, and then update based on the primary key. Can it beĀ  more efficient than mysql?