Here's a potential solution:
Create a table to store the primary key values you want to be read-only:
CREATE TABLE cb_aggregator_content_readonly (
entry_id INT PRIMARY KEY
);
INSERT INTO cb_aggregator_content_readonly SET entry_id = 12345;
Make triggers to throw an error if you try to update or delete rows with entry id's that are supposed to be read-only:
DELIMITER ;;
CREATE TRIGGER no_upd_content BEFORE UPDATE ON cb_aggregator_content
FOR EACH ROW BEGIN
IF EXISTS(SELECT * FROM cb_aggregator_content_readonly WHERE entry_id = OLD.entry_id) THEN
SIGNAL SQLSTATE '45000'
SET MESSAGE_TEXT = 'Please do not update entry ';
END IF;
END;;
CREATE TRIGGER no_del_content BEFORE DELETE ON cb_aggregator_content
FOR EACH ROW BEGIN
IF EXISTS(SELECT * FROM cb_aggregator_content_readonly WHERE entry_id = OLD.entry_id) THEN
SIGNAL SQLSTATE '45000'
SET MESSAGE_TEXT = 'Please do not delete entry';
END IF;
END;;
DELIMITER ;
Now it should prevent you from updating or deleting the rows you want to keep:
mysql> delete from cb_aggregator_content where entry_id = 123;
Query OK, 1 row affected (0.02 sec)
mysql> delete from cb_aggregator_content where entry_id = 12345;
ERROR 1644 (45000): Please do not delete entry
If you want to add more entry_id's to the set of those to keep, just insert more values to the cb_aggregator_content_readonly table.