select cat from directory where is_archived=0 and site_url != '' and (city='granite falls' OR city='granite_falls') and (state='WA' OR state='Washington')
select cat from directory where is_archived=0 and site_url != '' and (city='granite falls' OR city='granite_falls') and (state='WA' OR state='Washington')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('granite_falls', city) OR city='all' ) and (state='WA' OR state='Washington' OR state='all')