Double opt-in pending actions

Your software
My Mautic version is: 3.2.5
My PHP version is: 7.3.26
My Database type and version is:
mysql 8.0.22
Your problem
My problem is:
I have a double opt-in campaign (DOI) that is running already for about 8 months.
When running mautic:campaigns:trigger there are millions of pending actions that it runs through,
which makes the cron jobs very slow!

is there something in the campaign that i should do to ignore those pending actions when triggering the campaign?

Thanks.
Sharon.
These errors are showing in the log:

Steps I have tried to fix the problem: