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