\Drupal\Core\Database\Database::setActiveConnection('external');
// Get a connection going
$db = \Drupal\Core\Database\Database::getConnection();
$query = $db->select('node', 'n');
$result = $query
->fields('n')
->condition('n.type', 'article')
->execute()
->fetchAll();
$storage = \Drupal::entityTypeManager()->getStorage('node');
$node = $storage->load($result[0]->nid);
dump($node);
// Switch back
\Drupal\Core\Database\Database::setActiveConnection();
$node = $storage->load($result[0]->nid); // this load a node from default DB and not external DB so that's not good