select cat from directory where is_archived=0 and site_url != '' and (city='pinion pines' OR city='pinion_pines') and (state='AZ' OR state='Arizona')
select cat from directory where is_archived=0 and site_url != '' and (city='pinion pines' OR city='pinion_pines') and (state='AZ' OR state='Arizona')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('pinion_pines', city) OR city='all' ) and (state='AZ' OR state='Arizona' OR state='all')