SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}Lage{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}' OR prCity = 'Lage' OR prZip = 'Lage' OR prStreet LIKE '{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}Lage{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}' OR prCountry = 'Lage') AND (prLocation LIKE '{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}Germany{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}Germany{ae640bf234e7002b40f997817b8e564872c95514b90ec9f4221cbc1b649aa3a1}' OR prCountry = 'Germany')