1. A method for determining query plans, the method comprising: obtaining a current query; generating a first literal and a first signature key from the current query; determining that the first signature key matches a second signature key stored in a parser cache; obtaining a literals data structure corresponding to the second signature key, the literals data structure comprising a group of literals, a list of high and low boundary intervals and a parameterization indicator; identifying, using the parameterization indicator, a parameterized literal in the group of literals; determining that a high and low boundary interval for the second parameterized literal contains the first literal; and executing a stored query plan on the current query.