NXP-14845: Add way to log slow NXQL queries