Feel free to profile them but if you have the keys then using the get API and doing the conversion in Java should be faster. The KV get request can go directly to the correct KV node using an optimised binary protocol, and there’s no overhead of parsing a query statement. I wouldn’t expect the conversion to be a significant determiner either way.