In short: No, XenForo 2.3.7 cannot run on MySQL 5.7.
XenForo 2.3.x requires at least MySQL 8.0 or MariaDB 10.3.
The reason is that XenForo relies on modern SQL features introduced in MySQL 8.0 (such as JSON_TABLE, window functions, and common table expressions), which are not available in MySQL...