select cat from directory where is_archived=0 and site_url != '' and (city='cliffwood beach' OR city='cliffwood_beach') and (state='NJ' OR state='New Jersey')
select cat from directory where is_archived=0 and site_url != '' and (city='cliffwood beach' OR city='cliffwood_beach') and (state='NJ' OR state='New Jersey')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('cliffwood_beach', city) OR city='all' ) and (state='NJ' OR state='New Jersey' OR state='all')