If you want to filter at the query level, use whereHas() to apply the condition directly to the database query.
$metaKey = '_manage_stock';
$filteredProducts = Product::whereHas('meta', function ($query) use ($metaKey) {
$query->where('meta_key', $metaKey);
})->get();