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