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