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