[POLICY-88] validation of query pre-execution