Based on blog post.
The most selective column should be first in the index, so that the number of possible matching rows is the smallest.
select sum(columnA='testA'), sum(columnB='testB'), ... from table
select sum(columnB='testB') from table where columnA='testA'
#published