[Maria-developers] Updated (by Igor): Backport subquery optimizations (104)