This is closely related to this question, but adds another requirement.
Given a parent table \'parent\'
╔════════════╦════════╗ ║ PARENT_ID ║ NAME
You can do this with a group by.
SELECT PARENT_ID FROM link_tbl WHERE PROP_ID IN (5,1) GROUP BY PARENT_ID HAVING COUNT(*) = 2