Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Labels and Not Found

$meta_query = array(
	'relation' => 'AND',
	array(
		array(
			'key'     => 'object_not_found',
			'compare' => 'NOT EXISTS',
		),
	),
	array(
		array(
			'key'     => 'labels',
			'compare' => 'NOT EXISTS',
		),
		array(
			'key'     => 'keywords',
			'compare' => 'NOT EXISTS',
		),
	),
);