Force STRAIGHT_JOIN for filtering
Force STRAIGHT_JOIN for filtering

Summary: Force better table joining with STRAIGHT_JOIN

Test Plan:
Tested locally. New query:
```
SELECT STRAIGHT_JOIN message.id AS message_id
FROM message INNER JOIN thread ON thread.id = message.thread_id INNER JOIN messagecategory ON message.id = messagecategory.message_id INNER JOIN category ON category.id = messagecategory.category_id
WHERE message.namespace_id = %s AND message.is_draft = %s AND category.namespace_id = %s AND (category.name = %s OR category.display_name = %s OR category.public_id = %s) ORDER BY message.received_date DESC
 LIMIT %s
```

Reviewers: emfree

Reviewed By: emfree

Differential Revision: https://phab.nylas.com/D2701

nylas/sync-engine,nylas/sync-engine,jobscore/sync-engine,jobscore/sync-engine,nylas/sync-engine,closeio/nylas,jobscore/sync-engine,jobscore/sync-engine,closeio/nylas,closeio/nylas,closeio/nylas,nylas/sync-engine