Update entity properties fetched with entityTypeManager()->getStorage
You can actually use loadByProperties as that filter, you just need to extend your search:

$apples = \Drupal::entityTypeManager()
  -&gt;getStorage('fruit')
  -&gt;loadByProperties([
    'status' =&gt; '1', 
    'name' =&gt; 'Apple'
  ]);


If you need to filter an existing, broader list, then just use foreach, array_filter, etc; Drupal doesn't have any special methods for it.