products Table: (I've not included a few columns as they aren't relevant)
mysql> SELECT ID, item, featured, show_on_site, order_on_site FROM products WHERE live = 1 AND category_name = '8' LIMIT 10;
+----+------------------+----------+--------------+---------------+
| ID | item | featured | show_on_site | order_on_site |
+----+------------------+----------+--------------+---------------+
| 3 | Lumo | 1 | 1 | 10 |
| 4 | Traditional Blue | 1 | 1 | 20 |
| 6 | Bronze Ghost | 1 | 1 | 30 |
| 15 | Purple/Orange | 1 | 1 | 40 |
+----+------------------+----------+--------------+---------------+
products_components Table
mysql> select ID, product_id p_id, component_title, component_price, stock_level, show_when_no_stock FROM product_component WHERE live=1 AND product_id IN (SELECT ID FROM products WHERE category_name =8);
+----+------+-----------------+-----------------+-------------+--------------------+
| ID | p_id | component_title | component_price | stock_level | show_when_no_stock |
+----+------+-----------------+-----------------+-------------+--------------------+
| 2 | 3 | T9-3 Lumo | 250.00 | 0 | 1 |
| 4 | 4 | T9 | 250.00 | 43 | 1 |
| 5 | 5 | T9 | 250.00 | 15 | NULL |
| 6 | 6 | T6 | 250.00 | 24 | 1 |
| 7 | 6 | T6 b | 100.00 | 20 | 1 |
| 8 | 6 | T6 c | 320.00 | 11 | 1 |
| 11 | 14 | | 250.00 | 50 | NULL |
| 12 | 15 | T9 | 250.00 | 0 | NULL |
+----+------+-----------------+-----------------+-------------+--------------------+
|