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