back-end support for limiting the queries size depending on the subscription plan