SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Hohenselchow-Groß{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCity = 'Hohenselchow-Groß' OR prZip = 'Hohenselchow-Groß' OR prStreet LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Hohenselchow-Groß{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCountry = 'Hohenselchow-Groß') AND (prLocation LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Pinnow{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCity = 'Pinnow' OR prZip = 'Pinnow' OR prStreet LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Pinnow{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCountry = 'Pinnow') AND (prLocation LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Germany{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}Germany{4c0f8de39df99196d66dffb97ddf08612e05bb502fc8b116fcb60788bc727f63}' OR prCountry = 'Germany')