I finally found it:
<?php if( have_rows('mdb_artist') ): ?>
<?php while( have_rows('mdb_artist') ): the_row();
$content = get_sub_field('mdb_artist_field');
?>
<a href="<?php echo get_term_link( $content[0]->term_id ); ?>"><?php echo $content[0]->name; ?></a>
<br>
<?php endwhile; ?>
<?php endif; ?>