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