Hi,
Unfortunately there isn't any example as the one you need, the only implementation for MQTT we have is using the LWIP stack, you can find it for example in the SDK for the LPCXpresso54628.
Sorry for the inconveniences this may cause you.
Best Regards,
Alexis Andalon