add major_mime to query to use index

	Change I85715b05 adds index with major/minor mime, use it.

Change-Id: Ifbe91dec84469cbfd5cb623d5c6fd94bf49c461c
Merge "add major_mime to query to use index"