SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Region{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCity = 'Region' OR prZip = 'Region' OR prStreet LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Region{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCountry = 'Region') AND (prLocation LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Cittaslow{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCity = 'Cittaslow' OR prZip = 'Cittaslow' OR prStreet LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Cittaslow{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCountry = 'Cittaslow') AND (prLocation LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Cyprus{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}Cyprus{a8cc4fb5259c678eecd84d7e42fa0ede0dbcbaf68ba2e638aa092a6b2bc75cd4}' OR prCountry = 'Cyprus')