Migrate insertMysqlEventsIntoDb() function from deprecated prepare_v2()
to the new RAII-based API using raw pointer aliases.
Pattern used:
auto [rc, statement_unique] = db->prepare_v2(query);
sqlite3_stmt *statement = statement_unique.get();
// ... use statement directly ...
// No manual finalize - RAII handles it
This addresses 2 of the ~150 deprecated prepare_v2 warnings.