select cat from directory where is_archived=0 and site_url != '' and (city='waynesville' OR city='waynesville') and (state='GA' OR state='Georgia')
select cat from directory where is_archived=0 and site_url != '' and (city='waynesville' OR city='waynesville') and (state='GA' OR state='Georgia')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('waynesville', city) OR city='all' ) and (state='GA' OR state='Georgia' OR state='all')