[Maria-developers] LIMIT optimisations