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