Use the installutil getmasterproperty subcommand to get the hard query limit for a database set.
installutil getmasterproperty dbset_name cq_login_id cq_password HARD_QUERY_LIMIT
Example
installutil getmasterproperty mydbset admin secret HARD_QUERY_LIMIT