db: Add support to search by mime type