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