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