Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Test

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'termin_szkolenia',
		'compare' => 'EXISTS',
	),
);