SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}Berlin-Spandau{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}' OR prCity = 'Berlin-Spandau' OR prZip = 'Berlin-Spandau' OR prStreet LIKE '{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}Berlin-Spandau{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}' OR prCountry = 'Berlin-Spandau') AND (prLocation LIKE '{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}Germany{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}Germany{44261ad6d428f4b5032b507916dae49001f919809208ff480cad92a7097d8620}' OR prCountry = 'Germany')