The index already existed, I just had to use ORDER BY m.ts DESC instead of ORDER BY ts DESC