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