How do I selectively purge MySQL table rows using a list of column values?
DELETE FROM MyBigUberTable WHERE Link NOT IN (...);


That should do it. Just replace the ellipsis with a comma-separated list of of Link values (or a SELECT statement that produces said list).