Basic query key generation with 'using' and 'prefix'