you're probably only allowed a subset of the query language to talk to an encrypted table. E.g. only range queries that target a sample size > 5% of rows, etc., with exceptions for searches that hit an exact index such as looking up by id.
A lot is allowed: https://cipherstash.com/docs/stack/cipherstash/encryption/se...
A lot is allowed: https://cipherstash.com/docs/stack/cipherstash/encryption/se...