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