SiteMapController.php#35acpr_db_original_staging1.58msselect `state_id`, `id`, `city`, LOWER(city) as city_lower from `acpr_locations` whereexists (select*from `acpr_states` where `acpr_locations`.`state_id` = `acpr_states`.`id` and `state_code` ='SC'and `acpr_states`.`deleted_at` isnull) and `acpr_locations`.`deleted_at` isnullgroupby `city_lower`