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