Probably doesn't make a difference, but maybe you can add an index on `createdAt`.