So "myClass" really has multiple "prop2" values.
Esper provides enumeration methods (aka. lambda funcs) so something like this would work: "bar.anyOf(v => v.prop2 = 'some value')"
Sample in a EPL: "select * from MyClass(bar.anyOf(v => v.prop2 = 'some value'))"