Prepare cql queries