Optimization of constrained frequent set queries with 2-variable constraints | Synapse