Don't return query cache enabled pools in the query cache executor
Don't return query cache enabled pools in the query cache executor

Follow up #41046.

If query cache is enabled for all connection pools, `pools` always
matches to `all_connection_pools`, returning `pools` has become
redundant.

joonyou/rails,georgeclaghorn/rails,BlakeWilliams/rails,EmmaB/rails-1,yahonda/rails,georgeclaghorn/rails,yahonda/rails,Vasfed/rails,lcreid/rails,BlakeWilliams/rails,Vasfed/rails,kmcphillips/rails,kddeisz/rails,lcreid/rails,Envek/rails,bogdanvlviv/rails,Envek/rails,yawboakye/rails,rails/rails,MSP-Greg/rails,kmcphillips/rails,bogdanvlviv/rails,georgeclaghorn/rails,Stellenticket/rails,esparta/rails,betesh/rails,Vasfed/rails,Stellenticket/rails,joonyou/rails,rails/rails,Erol/rails,yawboakye/rails,Envek/rails,lcreid/rails,Stellenticket/rails,Erol/rails,kddeisz/rails,Edouard-chin/rails,joonyou/rails,kmcphillips/rails,Envek/rails,MSP-Greg/rails,Erol/rails,rails/rails,Vasfed/rails,MSP-Greg/rails,kmcphillips/rails,kddeisz/rails,kddeisz/rails,betesh/rails,yahonda/rails,esparta/rails,Stellenticket/rails,yahonda/rails,Edouard-chin/rails,MSP-Greg/rails,joonyou/rails,Edouard-chin/rails,EmmaB/rails-1,betesh/rails,bogdanvlviv/rails,BlakeWilliams/rails,lcreid/rails,esparta/rails,Erol/rails,EmmaB/rails-1,georgeclaghorn/rails,betesh/rails,yawboakye/rails,Edouard-chin/rails,BlakeWilliams/rails,bogdanvlviv/rails,esparta/rails,yawboakye/rails,rails/rails