If you have two indexes on the same column, in your example only one of them will be used.
If you have an index with two columns, the query may be faster (you have to measure). The index of two columns can also be used as the index of a column, but only for the first column.
It is sometimes useful to have an index on (A, B) and another index on (B). This makes queries using one or both columns fast, but, of course, uses more disk space.
When choosing indexes, you also need to consider the effect on insertion, deletion, and updating. More indexes = slower updates.
Mark Byers Feb 28 '10 at 2:32
source share