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