ISPN-4524 Query should not reindex cache entries on preload or activation
Test that replaying a prepare command doesn't acquire the lock twice