select cat from directory where is_archived=0 and site_url != '' and (city='ewa beach' OR city='ewa_beach') and (state='HI' OR state='Hawaii')
select cat from directory where is_archived=0 and site_url != '' and (city='ewa beach' OR city='ewa_beach') and (state='HI' OR state='Hawaii')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('ewa_beach', city) OR city='all' ) and (state='HI' OR state='Hawaii' OR state='all')