(slug = 'eprimo' or id = 'eprimo') or (host like '%eprimo%') or id in ( select target_id from aliases where source_id = 'eprimo' and type in ('slug','domain') ) and 1=1