explains why the query cache checks arel.locked