4.35 ms (24.08%)
2
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . payment_method AS payment_method_14 , c0_ . created_at AS created_at_15 , c0_ . updated_at AS updated_at_16 , c0_ . address_street AS address_street_17 , c0_ . address_descriptive_number AS address_descriptive_number_18 , c0_ . address_city AS address_city_19 , c0_ . address_country AS address_country_20 , c0_ . address_zip_code AS address_zip_code_21 , c0_ . invoice_street AS invoice_street_22 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_23 , c0_ . invoice_city AS invoice_city_24 , c0_ . invoice_country AS invoice_country_25 , c0_ . invoice_zip_code AS invoice_zip_code_26 , c1_ . id AS id_27 , c1_ . quantity AS quantity_28 , c1_ . created_at AS created_at_29 , c1_ . updated_at AS updated_at_30 , p2_ . id AS id_31 , p2_ . code AS code_32 , p2_ . is_default AS is_default_33 , p2_ . weight_modification AS weight_modification_34 , p2_ . price_modification_amount AS price_modification_amount_35 , p2_ . price_modification_currency AS price_modification_currency_36 , p2_ . stock_stock AS stock_stock_37 , p2_ . stock_reserved AS stock_reserved_38 , p3_ . id AS id_39 , p3_ . public_id AS public_id_40 , p3_ . name AS name_41 , p3_ . description AS description_42 , p3_ . short_description AS short_description_43 , p3_ . code AS code_44 , p3_ . ean AS ean_45 , p3_ . unit AS unit_46 , p3_ . active AS active_47 , p3_ . can_be_bought AS can_be_bought_48 , p3_ . searchable AS searchable_49 , p3_ . show_price AS show_price_50 , p3_ . in_stock_text AS in_stock_text_51 , p3_ . out_of_stock_text AS out_of_stock_text_52 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_53 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_54 , p3_ . search_vector_cs AS search_vector_cs_55 , p3_ . search_vector_en AS search_vector_en_56 , p3_ . seo_title AS seo_title_57 , p3_ . seo_description AS seo_description_58 , p3_ . seo_url AS seo_url_59 , p3_ . stock_stock AS stock_stock_60 , p3_ . stock_reserved AS stock_reserved_61 , p3_ . logistic_weight AS logistic_weight_62 , p3_ . logistic_size_width AS logistic_size_width_63 , p3_ . logistic_size_height AS logistic_size_height_64 , p3_ . logistic_size_length AS logistic_size_length_65 , p3_ . price_amount AS price_amount_66 , p3_ . price_currency AS price_currency_67 , p3_ . purchase_price_amount AS purchase_price_amount_68 , p3_ . purchase_price_currency AS purchase_price_currency_69 , c0_ . customer_id AS customer_id_70 , c0_ . shipping_method_id AS shipping_method_id_71 , c0_ . discount_code_id AS discount_code_id_72 , c1_ . cart_id AS cart_id_73 , c1_ . product_variant_id AS product_variant_id_74 , p2_ . product_id AS product_id_75 , p3_ . vat_id AS vat_id_76 , p3_ . main_category_id AS main_category_id_77 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = ? AND c0_ . status = ? ORDER BY c1_ . id ASC
Parameters :
[
"b5342667ae9e9ec6af425bfe9b6bb752 "
"active "
]
SELECT
c0_ . id AS id_0 ,
c0_ . session_id AS session_id_1 ,
c0_ . status AS status_2 ,
c0_ . last_activity_at AS last_activity_at_3 ,
c0_ . email AS email_4 ,
c0_ . firstname AS firstname_5 ,
c0_ . lastname AS lastname_6 ,
c0_ . telephone AS telephone_7 ,
c0_ . company_name AS company_name_8 ,
c0_ . cin AS cin_9 ,
c0_ . vat_id AS vat_id_10 ,
c0_ . pickup_point_id AS pickup_point_id_11 ,
c0_ . pickup_point_name AS pickup_point_name_12 ,
c0_ . note AS note_13 ,
c0_ . payment_method AS payment_method_14 ,
c0_ . created_at AS created_at_15 ,
c0_ . updated_at AS updated_at_16 ,
c0_ . address_street AS address_street_17 ,
c0_ . address_descriptive_number AS address_descriptive_number_18 ,
c0_ . address_city AS address_city_19 ,
c0_ . address_country AS address_country_20 ,
c0_ . address_zip_code AS address_zip_code_21 ,
c0_ . invoice_street AS invoice_street_22 ,
c0_ . invoice_descriptive_number AS invoice_descriptive_number_23 ,
c0_ . invoice_city AS invoice_city_24 ,
c0_ . invoice_country AS invoice_country_25 ,
c0_ . invoice_zip_code AS invoice_zip_code_26 ,
c1_ . id AS id_27 ,
c1_ . quantity AS quantity_28 ,
c1_ . created_at AS created_at_29 ,
c1_ . updated_at AS updated_at_30 ,
p2_ . id AS id_31 ,
p2_ . code AS code_32 ,
p2_ . is_default AS is_default_33 ,
p2_ . weight_modification AS weight_modification_34 ,
p2_ . price_modification_amount AS price_modification_amount_35 ,
p2_ . price_modification_currency AS price_modification_currency_36 ,
p2_ . stock_stock AS stock_stock_37 ,
p2_ . stock_reserved AS stock_reserved_38 ,
p3_ . id AS id_39 ,
p3_ . public_id AS public_id_40 ,
p3_ . name AS name_41 ,
p3_ . description AS description_42 ,
p3_ . short_description AS short_description_43 ,
p3_ . code AS code_44 ,
p3_ . ean AS ean_45 ,
p3_ . unit AS unit_46 ,
p3_ . active AS active_47 ,
p3_ . can_be_bought AS can_be_bought_48 ,
p3_ . searchable AS searchable_49 ,
p3_ . show_price AS show_price_50 ,
p3_ . in_stock_text AS in_stock_text_51 ,
p3_ . out_of_stock_text AS out_of_stock_text_52 ,
p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_53 ,
p3_ . filter_variant_value_ids AS filter_variant_value_ids_54 ,
p3_ . search_vector_cs AS search_vector_cs_55 ,
p3_ . search_vector_en AS search_vector_en_56 ,
p3_ . seo_title AS seo_title_57 ,
p3_ . seo_description AS seo_description_58 ,
p3_ . seo_url AS seo_url_59 ,
p3_ . stock_stock AS stock_stock_60 ,
p3_ . stock_reserved AS stock_reserved_61 ,
p3_ . logistic_weight AS logistic_weight_62 ,
p3_ . logistic_size_width AS logistic_size_width_63 ,
p3_ . logistic_size_height AS logistic_size_height_64 ,
p3_ . logistic_size_length AS logistic_size_length_65 ,
p3_ . price_amount AS price_amount_66 ,
p3_ . price_currency AS price_currency_67 ,
p3_ . purchase_price_amount AS purchase_price_amount_68 ,
p3_ . purchase_price_currency AS purchase_price_currency_69 ,
c0_ . customer_id AS customer_id_70 ,
c0_ . shipping_method_id AS shipping_method_id_71 ,
c0_ . discount_code_id AS discount_code_id_72 ,
c1_ . cart_id AS cart_id_73 ,
c1_ . product_variant_id AS product_variant_id_74 ,
p2_ . product_id AS product_id_75 ,
p3_ . vat_id AS vat_id_76 ,
p3_ . main_category_id AS main_category_id_77
FROM
cart c0_
LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id
LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id
LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id
WHERE
c0_ . session_id = ?
AND c0_ . status = ?
ORDER BY
c1_ . id ASC
Copy
SELECT c0_ . id AS id_0 , c0_ . session_id AS session_id_1 , c0_ . status AS status_2 , c0_ . last_activity_at AS last_activity_at_3 , c0_ . email AS email_4 , c0_ . firstname AS firstname_5 , c0_ . lastname AS lastname_6 , c0_ . telephone AS telephone_7 , c0_ . company_name AS company_name_8 , c0_ . cin AS cin_9 , c0_ . vat_id AS vat_id_10 , c0_ . pickup_point_id AS pickup_point_id_11 , c0_ . pickup_point_name AS pickup_point_name_12 , c0_ . note AS note_13 , c0_ . payment_method AS payment_method_14 , c0_ . created_at AS created_at_15 , c0_ . updated_at AS updated_at_16 , c0_ . address_street AS address_street_17 , c0_ . address_descriptive_number AS address_descriptive_number_18 , c0_ . address_city AS address_city_19 , c0_ . address_country AS address_country_20 , c0_ . address_zip_code AS address_zip_code_21 , c0_ . invoice_street AS invoice_street_22 , c0_ . invoice_descriptive_number AS invoice_descriptive_number_23 , c0_ . invoice_city AS invoice_city_24 , c0_ . invoice_country AS invoice_country_25 , c0_ . invoice_zip_code AS invoice_zip_code_26 , c1_ . id AS id_27 , c1_ . quantity AS quantity_28 , c1_ . created_at AS created_at_29 , c1_ . updated_at AS updated_at_30 , p2_ . id AS id_31 , p2_ . code AS code_32 , p2_ . is_default AS is_default_33 , p2_ . weight_modification AS weight_modification_34 , p2_ . price_modification_amount AS price_modification_amount_35 , p2_ . price_modification_currency AS price_modification_currency_36 , p2_ . stock_stock AS stock_stock_37 , p2_ . stock_reserved AS stock_reserved_38 , p3_ . id AS id_39 , p3_ . public_id AS public_id_40 , p3_ . name AS name_41 , p3_ . description AS description_42 , p3_ . short_description AS short_description_43 , p3_ . code AS code_44 , p3_ . ean AS ean_45 , p3_ . unit AS unit_46 , p3_ . active AS active_47 , p3_ . can_be_bought AS can_be_bought_48 , p3_ . searchable AS searchable_49 , p3_ . show_price AS show_price_50 , p3_ . in_stock_text AS in_stock_text_51 , p3_ . out_of_stock_text AS out_of_stock_text_52 , p3_ . filter_parameter_value_ids AS filter_parameter_value_ids_53 , p3_ . filter_variant_value_ids AS filter_variant_value_ids_54 , p3_ . search_vector_cs AS search_vector_cs_55 , p3_ . search_vector_en AS search_vector_en_56 , p3_ . seo_title AS seo_title_57 , p3_ . seo_description AS seo_description_58 , p3_ . seo_url AS seo_url_59 , p3_ . stock_stock AS stock_stock_60 , p3_ . stock_reserved AS stock_reserved_61 , p3_ . logistic_weight AS logistic_weight_62 , p3_ . logistic_size_width AS logistic_size_width_63 , p3_ . logistic_size_height AS logistic_size_height_64 , p3_ . logistic_size_length AS logistic_size_length_65 , p3_ . price_amount AS price_amount_66 , p3_ . price_currency AS price_currency_67 , p3_ . purchase_price_amount AS purchase_price_amount_68 , p3_ . purchase_price_currency AS purchase_price_currency_69 , c0_ . customer_id AS customer_id_70 , c0_ . shipping_method_id AS shipping_method_id_71 , c0_ . discount_code_id AS discount_code_id_72 , c1_ . cart_id AS cart_id_73 , c1_ . product_variant_id AS product_variant_id_74 , p2_ . product_id AS product_id_75 , p3_ . vat_id AS vat_id_76 , p3_ . main_category_id AS main_category_id_77 FROM cart c0_ LEFT JOIN cart_item c1_ ON c0_ . id = c1_ . cart_id LEFT JOIN product_variant p2_ ON c1_ . product_variant_id = p2_ . id LEFT JOIN product p3_ ON p2_ . product_id = p3_ . id WHERE c0_ . session_id = 'b5342667ae9e9ec6af425bfe9b6bb752' AND c0_ . status = 'active' ORDER BY c1_ . id ASC ;
Copy
0.60 ms (3.32%)
1
INSERT INTO cart (id , session_id , status , last_activity_at , email , firstname , lastname , telephone , company_name , cin , vat_id , pickup_point_id , pickup_point_name , note , payment_method , created_at , updated_at , address_street , address_descriptive_number , address_city , address_country , address_zip_code , invoice_street , invoice_descriptive_number , invoice_city , invoice_country , invoice_zip_code , customer_id , shipping_method_id , discount_code_id ) VALUES (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )
Parameters :
[
"787eb23a-a4f3-4bf0-a107-9403c41afd17 "
"b5342667ae9e9ec6af425bfe9b6bb752 "
"active "
"2026-06-07 19:58:29 "
null
null
null
null
null
null
null
null
null
null
null
"2026-06-07 19:58:29 "
"2026-06-07 19:58:29 "
null
null
null
null
null
null
null
null
null
null
null
null
null
]
INSERT INTO cart (
id , session_id , status , last_activity_at ,
email , firstname , lastname , telephone ,
company_name , cin , vat_id , pickup_point_id ,
pickup_point_name , note , payment_method ,
created_at , updated_at , address_street ,
address_descriptive_number , address_city ,
address_country , address_zip_code ,
invoice_street , invoice_descriptive_number ,
invoice_city , invoice_country , invoice_zip_code ,
customer_id , shipping_method_id ,
discount_code_id
)
VALUES
(
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ?
)
Copy
INSERT INTO cart (id , session_id , status , last_activity_at , email , firstname , lastname , telephone , company_name , cin , vat_id , pickup_point_id , pickup_point_name , note , payment_method , created_at , updated_at , address_street , address_descriptive_number , address_city , address_country , address_zip_code , invoice_street , invoice_descriptive_number , invoice_city , invoice_country , invoice_zip_code , customer_id , shipping_method_id , discount_code_id ) VALUES ('787eb23a-a4f3-4bf0-a107-9403c41afd17' , 'b5342667ae9e9ec6af425bfe9b6bb752' , 'active' , '2026-06-07 19:58:29' , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , '2026-06-07 19:58:29' , '2026-06-07 19:58:29' , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL );
Copy