Connect two ESP8266 using serial connection

You could use serial, I2C ,or SPI to get the 2 thingies talking

If you used ESP32's for the ESPNow server and the MQTT sender software serial will not be needed and you'll get faster serial transmissions.