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