When the list of candidate index predicates has been determined, the optimizer selects which, if any, it will use for an index scan operation.
This selection is cost-based. The optimizer computes the cost for each of the index candidates and the cost for a table scan using the default index. The candidate with the lowest cost is chosen.