High response times for JWT tokens are generally observed with Layer7 OTK, where multiple grant flows are exposed, such as client credentials, token exchange, refresh token exchange, and service token exchange, etc.
Typically, high response times occur under heavy load. Our assumption is that this issue arises when OTK establishes connections to the external MySQL database.