Is there any way to filter contacts who are idle or unused

Your software
My Mautic version is: 3.1
My PHP version is: 7.2
My Database type and version is: MySQL 8.x

Your problem
My problem is:
Is there any way to find out my unused or idle contacts easily without going through database and making complex queries to find out events and timeline of contact ?
I have 35K+ contacts, which I imported from an old system. But most of them are just there, but 10% of these are used in various campaigns, any way to find out if they’re unused, in order to clean up.

These errors are showing in the log:

Steps I have tried to fix the problem: