Is there any way to do this?

Hello guys,

Can someone give me a little help and advice?

1- I'm using custom fields in a custom post type:
Screenshot: https://monosnap.com/file/Vm0R1NazOeH7Y4xqNUldJd61SQkkC7

2- And I'm using these custom fields too:
Screenshot: https://monosnap.com/file/X3ikqRBbjR0OCPxeg01Gq61oqT8uxc

At the moment, I need to check manually the 2nd custom fields, one by one.
Is there any way to automatically check the 2nd custom fields when the sitename is the same in 1st custom…

Is there any way to do this?