SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Wiesloch{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCity = 'Wiesloch' OR prZip = 'Wiesloch' OR prStreet LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Wiesloch{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCountry = 'Wiesloch') AND (prLocation LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}/{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}/{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCountry = '/') AND (prLocation LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Altwiesloch{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCity = 'Altwiesloch' OR prZip = 'Altwiesloch' OR prStreet LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Altwiesloch{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCountry = 'Altwiesloch') AND (prLocation LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Germany{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}Germany{7b9549f123d5bf0596d49741a9f569c13f63c450e3babc5f301cb7d9e6ae3be4}' OR prCountry = 'Germany')