Dopo un bel po' di prove (molte anche assurde... con il senno di poi) ecco la soluzione funzionante:
$products_query_raw = "select * from " .
TABLE_PRODUCTS . " as a " .
" left join " . TABLE_PRODUCTS_WITH_ATTRIBUTES_STOCK .
" as b using (products_id)
where b.quantity is null or
b.quantity <='" . $stock_reorder_level . "'
or a.products_quantity is null or
a.products_quantity <='" . $stock_reorder_level . "'";
Vi ringrazio di cuore per il tempo che mi avete dedicato.
Giovanni