Add an MQTT In node subscribing to the message coming in on MQTT, then use that message to trigger a mysql node to run the appropriate SELECT query.
Add an MQTT In node subscribing to the message coming in on MQTT, then use that message to trigger a mysql node to run the appropriate SELECT query.