Modify query to avoid a full table scan on MySQL
Merge pull request #424 from tmo-github/TMO_ttrss

Modify query to avoid a full table scan on MySQL