ring.id = 580085 filter.purchasability = all page.num = 1
SELECT DISTINCT(ci.sub_id_fk) AS sub_id FROM catalog_item AS ci INNER JOIN catalog AS c ON ci.cat_id_fk=c.cat_id INNER JOIN hasring AS hr ON ci.sub_id_fk=hr.sub_id_fk INNER JOIN rings AS r ON hr.rings_fk=r.rings_id WHERE r.rings_id = 580085 AND c.free = 1 LIMIT 50
//zinc12.docking.org/results/combination?ring.id=580085&filter.purchasability=all