SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Wasserburg{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCity = 'Wasserburg' OR prZip = 'Wasserburg' OR prStreet LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Wasserburg{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCountry = 'Wasserburg') AND (prLocation LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}a.{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCity = 'a.' OR prZip = 'a.' OR prStreet LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}a.{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCountry = 'a.') AND (prLocation LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Inn{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCity = 'Inn' OR prZip = 'Inn' OR prStreet LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Inn{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCountry = 'Inn') AND (prLocation LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Germany{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}Germany{428e0032241fa8742249a60165147d1f6233a0cca7311fe457ca859ae2cbc866}' OR prCountry = 'Germany')