Optimization of get user progression in lesson