This SQL statement will find products in the shopping cart with or without product attributes. You can specify one or as many Customer IDs as you want. Just change the '000', '111', etc. to the Customer IDs you have.

SELECT cb.customers_id, cb.customers_basket_quantity, p.products_model, pd.products_name, pov.products_options_values_name
FROM customers_basket cb
JOIN products p ON p.products_id=cb.products_id
JOIN products_description pd ON pd.products_id=cb.products_id
LEFT JOIN customers_basket_attributes cba ON cba.products_id=cb.products_id
LEFT JOIN products_options_values pov ON cba.products_options_value_id=pov.products_options _values_id
WHERE cb.customers_id IN('000','111','222')
AND pd.language_id = '1'
ORDER BY cb.customers_id

More...