Default to empty-query for connection checking
This is a follow-up to #292749 (closed). The new behavior has been hidden behind a environment variable, which can be set to enable it.
This issue is about defaulting to the new behavior. Additionally, we can consider filing an upstream code change for ActiveRecord.