Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta Script Test

$meta_query = array(
	'relation' => 'OR',
	array(
		'key'     => 'header_script',
		'compare' => 'EXISTS',
		'type'    => 'CHAR',
	),
	array(
		'key'     => 'body_script',
		'compare' => 'EXISTS',
		'type'    => 'CHAR',
	),
);