LDEV-5248,
LDEV-4411 Mark some queries as cacheable
Query cache makes sense if tables which the query reference does not
change often. Each modification to table content invalidates the given
query's cache. Also each set of query parameters is a different cache
entry, so if there are various parameter values the cache overhead can
generate more load than benefit.