Switch two or more digital outputs of ESP8266 at the same time
See the datasheet: esp8266-technical_reference_en

Paragraph 2.2.2 shows how to use the output registers.

With the registers GPIO_OUT, GPIO_OUT_W1TS and GPIO_OUT_W1TC you can set or clear multiple GPIOs.