CORE-5002: modified three queries to take advantage of the (user_name, zone) index of r_user_main.