Hi czajna
The BOM data is stored across multiple tables. If you only need the underlying product info, they are just products with a special product type, so they are stored on the wp_posts table (as all the other products).
If you need to get any other info, please be more specific and I'll tell you where is stored.
Best Regards,
Salva.