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