SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Berlin{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Berlin{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCountry = 'Berlin') AND (prLocation LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}/{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}/{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCountry = '/') AND (prLocation LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Müggelheim{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCity = 'Müggelheim' OR prZip = 'Müggelheim' OR prStreet LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Müggelheim{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCountry = 'Müggelheim') AND (prLocation LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Germany{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}Germany{9d989ea8395e3b7031cd2bdc89c6291859e83117d77c2fea1944bf1babf61eb3}' OR prCountry = 'Germany')