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