This issues one query per row. A better approach would be to query for all variants at once with `select_related(...)` for the product.