How to send data to an ESP32 with as little delay as possible from an Android app
Use plain TCP sockets communication. Don't send the HTTP strings, send only byte. Let the connection open and reuse it to send the bytes. Check the state of the connection and when it disconnects reconnect.

Modify the receiving server side socket in app to receive only the bytes and keep the socket open.

Other option is to use UDP.