How to use 2 I2C and UART simultaneously in ESP32?

As long as each I2C sensor has its own address. Run the I2C scanner program with your current wiring scheme to make sure all your I2C devices are with unique address.