a.status=1 and a.users_id=u.id and u.status=1 and ( (a.position RLIKE '[[:<:]]Няня' and a.position RLIKE '[[:<:]]гувернантка') or (a.professional_duty RLIKE '[[:<:]]Няня' and a.professional_duty RLIKE '[[:<:]]гувернантка') or (a.key_words RLIKE '[[:<:]]Няня' and a.key_words RLIKE '[[:<:]]гувернантка') or (a.position RLIKE '[[:<:]]суток') or (a.professional_duty RLIKE '[[:<:]]суток') or (a.key_words RLIKE '[[:<:]]суток')