SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Erftstadt{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCity = 'Erftstadt' OR prZip = 'Erftstadt' OR prStreet LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Erftstadt{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCountry = 'Erftstadt') AND (prLocation LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}/{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}/{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCountry = '/') AND (prLocation LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Köttingen{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCity = 'Köttingen' OR prZip = 'Köttingen' OR prStreet LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Köttingen{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCountry = 'Köttingen') AND (prLocation LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Germany{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}Germany{ead216035bdf568bada37957786a28a0e8effba1a5ee5d776f23388ca568efc7}' OR prCountry = 'Germany')