Looking for a utility to migrate specific plugin database tables between WordPress sites

I’m currently working on downsizing my WordPress website from a large installation to a more compact setup. During this migration process, I need to transfer only certain plugin-related database tables from my original MySQL database to the new WordPress environment. The challenge is that I don’t want to move everything - just the specific tables that belong to plugins I’m keeping in the new installation. I’ve been searching for an automated solution or script that can help me identify, extract, and import these plugin tables without having to manually handle each one through phpMyAdmin or similar tools. Has anyone come across such a migration utility or developed a custom script for this purpose? I’m hoping to avoid the tedious process of manually exporting and importing each table individually.