A version of ParseQuery that uses Doctrine Cache