Not sure if this helps, or points to something, but:
MariaDB [svips]> select * from wp_options where option_name = 'ssa_plugin_version';
+-----------+--------------------+--------------+----------+
| option_id | option_name | option_value | autoload |
+-----------+--------------------+--------------+----------+
| 159 | ssa_plugin_version | 1.6.5.18 | no |
+-----------+--------------------+--------------+----------+
1 row in set (0.001 sec)
MariaDB [svips]> select * from wp_options where option_name = 'ssa_versions';
+-----------+--------------+---------------------------------+----------+
| option_id | option_name | option_value | autoload |
+-----------+--------------+---------------------------------+----------+
| 156 | ssa_versions | {"2023-08-24 05:03:34":"6.5.4"} | yes |
+-----------+--------------+---------------------------------+----------+
1 row in set (0.001 sec)
If it already at 6.5.4, why is it trying to migrate to it?