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