pdreyer has an excellent point about the statistics. You should probably also check to see if there are border cases in your data. Are there any combination of parameters the stored procedure accepts that cause a table scan to be preferable? Typically, RDBMS systems only use indexes at 4 - 7 % selectivity.