I\'ve the following structure in my database.
users -- id ... products -- id ... licenses (pivot table with some extra informations these data are grabbed via A