SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Gerabronn{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCity = 'Gerabronn' OR prZip = 'Gerabronn' OR prStreet LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Gerabronn{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCountry = 'Gerabronn') AND (prLocation LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Württ{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCity = 'Württ' OR prZip = 'Württ' OR prStreet LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Württ{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCountry = 'Württ') AND (prLocation LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Germany{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}Germany{f599b9fc3f84fa23c12c396fe31098b7295fc244fb24861c689e3d032467aa61}' OR prCountry = 'Germany')