Select Data from two tables ONLY IF ID on both tables are SAME
Try this:

SELECT wl.id 
FROM wishlist AS wl
LEFT JOIN wishlist_products AS wp ON wl.id = wp.wishlist_id
WHERE  wp.product_id in (select product_id from wishlist_products_bought)