create table foo (id, name varchar(255), value varchar(255));
Does it make sense to index name field in foo table which consists 25 rows only, where most of the queries are like select * from foo where name = 'name1'; and none of these things change much.
If it contains only 25 rows, then it might be overhead instead of performance gain. and query optimizer might opt to not use this index.