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