On Wed, Sep 11, 2013 at 3:36 AM, Maximilian Tyrtania <lists@xxxxxxxxxxxxxx> wrote:
JOIN emailsendings es ON et. ID = es.emailtemplate_id
ORDER BY
es.sentonat desc
Perhaps on an index on (es.emailtemplate_id, es.sentonat desc) would help?