How to enable MQTT demo and OTA simultensouly?

I see - so what you are asking is how can you combine 2 demos. Like you want to run both MQTT and OTA. If that is correct, you will need to make some changes:

Hope that helps.

Thanks.