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