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