(slug = '9flats-de' or id = '9flats-de') or id in ( select target_id from aliases where source_id = '9flats-de' and type in ('slug','domain') ) and 1=1