See KEYCLOAK-18842
Merge request - RHSSO-1881: deleteExpiredClientSessions very slow on MariaDB
Solved by commit f51b492f1919e31a72241797f9c1091c70365767.