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