My productivity increased when my son was that age. This was before COVID-19; I was working from home a lot for other reasons.
With two kids I have to schedule my time a lot more carefully to reach the same level of productivity. Even typing this comment I have to compromise on getting the exact wording I want lest I get interrupted before I finish typing.