Query time 0.00123
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "50.05"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "v",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id",
"fl"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 26,
"rows_produced_per_join": 12,
"filtered": "50.00",
"index_condition": "((`cscart_db`.`v`.`lang_code` = 'en') and (`cscart_db`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "21.72",
"eval_cost": "1.30",
"prefix_cost": "24.32",
"data_read_per_join": "519"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "f",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"cscart_db.v.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "86.54",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.12",
"prefix_cost": "28.87",
"data_read_per_join": "4K"
},
"used_columns": [
"feature_id",
"feature_code",
"purpose",
"feature_style",
"feature_type",
"categories_path",
"parent_id",
"display_on_product",
"display_on_catalog",
"display_on_header",
"status",
"position"
],
"attached_condition": "((`cscart_db`.`f`.`status` = 'A') and ((`cscart_db`.`f`.`categories_path` = '') or (0 <> find_in_set(2685,`cscart_db`.`f`.`categories_path`)) or (0 <> find_in_set(2708,`cscart_db`.`f`.`categories_path`)) or (0 <> find_in_set(2813,`cscart_db`.`f`.`categories_path`))) and (if(`cscart_db`.`f`.`parent_id`,(/* select#2 */ select `cscart_db`.`df`.`status` from `cscart_db`.`cscart_product_features` `df` where (`cscart_db`.`df`.`feature_id` = `cscart_db`.`f`.`parent_id`)),'A') = 'A') and ((`cscart_db`.`v`.`variant_id` <> 0) or ((`cscart_db`.`f`.`feature_type` <> 'C') and (`cscart_db`.`v`.`value` <> '')) or (`cscart_db`.`f`.`feature_type` = 'C') or (`cscart_db`.`v`.`value_int` <> 0)))",
"attached_subqueries": [
{
"dependent": true,
"cacheable": false,
"query_block": {
"select_id": 2,
"cost_info": {
"query_cost": "0.35"
},
"table": {
"table_name": "df",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"cscart_db.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "448"
},
"used_columns": [
"feature_id",
"status"
]
}
}
}
]
}
},
{
"table": {
"table_name": "fd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"cscart_db.v.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.81",
"eval_cost": "1.12",
"prefix_cost": "32.81",
"data_read_per_join": "25K"
},
"used_columns": [
"feature_id",
"description",
"prefix",
"suffix",
"lang_code",
"internal_name"
]
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"variant_feature_idx",
"idx_var_feat_pos"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"cscart_db.v.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.22",
"eval_cost": "1.12",
"prefix_cost": "39.16",
"data_read_per_join": "12K"
},
"used_columns": [
"variant_id",
"position"
]
}
},
{
"table": {
"table_name": "vd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"cscart_db.fv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.83",
"eval_cost": "1.12",
"prefix_cost": "46.11",
"data_read_per_join": "84K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
},
{
"table": {
"table_name": "gf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"cscart_db.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.81",
"eval_cost": "1.12",
"prefix_cost": "50.05",
"data_read_per_join": "4K"
},
"used_columns": [
"feature_id",
"feature_type",
"position"
],
"attached_condition": "<if>(is_not_null_compl(gf), (`cscart_db`.`gf`.`feature_type` = 'G'), true)"
}
}
]
}
}
}
Result
| feature_id |
value |
value_int |
variant_id |
feature_type |
internal_name |
description |
prefix |
suffix |
variant |
parent_id |
position |
gposition |
feature_style |
display_on_header |
display_on_catalog |
display_on_product |
feature_code |
purpose |
| 175 |
Water, Suncate DE (Water (and) Ethylhexyl Methoxycinnamate (and) Butyl Methoxydibenzoylmethane (and) Benzophenone-3 (and) Phospholipids (and) 1,3-Butylene Glycol), C12-15 Alkyl Benzoate, Dimethicone 200/350, Lecigel (Sodium Acrylates Copolymer (and) Lecithin), Xylitol and Glucose and Anhydroxylitol and Phonex Dactylifera extract (Aqua Gf), Glycerin, Lemon Extract, Strawberry Extract, Trehalose, Hyaluronic Acid 1%, Ethylhexylglycerin and phenoxyethanol, Aloevera Extract, Ethoxydiglycol (TRANSCUTOL® CG ), Helianthus Annuus (Sunflower) Seed Oil, Glyceryl Monostearate SE, Allantoin, Zinc Oxide, Vitamin E Tocopherol, Oxothiazolidine (OTZ 10), Titanium Dioxide E-Ascorbic Acid (Vitamin C) |
|
0 |
T |
All Ingredients |
All Ingredients |
|
|
|
66 |
40 |
0 |
text |
N |
N |
Y |
|
describe_product |
| 162 |
|
|
62518 |
M |
Awards and certifications |
Awards and certifications |
|
|
Derma Approved |
0 |
0 |
|
multiple_checkbox |
N |
N |
N |
|
find_products |
| 143 |
N |
|
0 |
C |
BBB |
BBB |
|
|
|
0 |
0 |
|
checkbox |
N |
N |
N |
|
find_products |
| 141 |
|
|
61471 |
M |
Benefits ATB |
Benefits |
|
|
Hydrating |
0 |
0 |
|
multiple_checkbox |
N |
N |
Y |
|
find_products |
| 62 |
|
|
30341 |
E |
Brand |
Brand |
|
|
Dermatouch |
0 |
1 |
|
brand |
Y |
N |
Y |
|
organize_catalog |
| 131 |
4 |
|
0 |
T |
Breadth |
Breadth |
|
cm |
|
129 |
0 |
0 |
text |
N |
N |
Y |
|
describe_product |
| 19 |
|
|
52442 |
M |
Concern |
Concern |
|
|
Hydration |
0 |
101 |
|
multiple_checkbox |
N |
N |
N |
|
find_products |
| 63 |
|
|
10348 |
S |
Country of Origin |
Country of Origin |
|
|
India |
66 |
100 |
0 |
text |
N |
N |
Y |
|
find_products |
| 149 |
N |
|
0 |
C |
Dishwasher Safe |
Dishwasher Safe |
|
|
|
0 |
0 |
|
checkbox |
N |
N |
N |
|
find_products |
| 168 |
8905348002117 |
|
0 |
T |
EAN |
EAN |
|
|
|
0 |
0 |
|
text |
N |
N |
N |
EAN |
describe_product |
| 161 |
N |
|
0 |
C |
Exclude in kc commission |
Exclude in kc commission |
|
|
|
0 |
0 |
|
checkbox |
N |
N |
N |
|
find_products |
| 61 |
|
|
35786 |
M |
Formulation |
Formulation |
|
|
Cream |
0 |
113 |
|
multiple_checkbox |
N |
N |
Y |
|
find_products |
| 177 |
|
|
62438 |
S |
Fragrance |
Fragrance |
|
|
Unscented |
0 |
0 |
|
dropdown_labels |
N |
N |
Y |
|
group_catalog_item |
| 132 |
11.3 |
|
0 |
T |
Height |
Height |
|
cm |
|
129 |
0 |
0 |
text |
N |
N |
Y |
|
describe_product |
| 72 |
Apply sunscreen uniformly on sun exposed areas Recommended to apply 15-20 minutes prior to sun exposure for best sun protection Reapply every 2-3 hours or as needed Can be used on bare skin or under makeup as last step in skin care routine Recom |
|
0 |
T |
How to Use |
How to Use |
|
|
|
0 |
3 |
|
text |
N |
N |
N |
|
describe_product |
| 65 |
|
|
60025 |
M |
Key Ingredients |
Key Ingredients |
|
|
Suncate DE, Hyaluronic Acid, Aqua GF |
0 |
30 |
|
multiple_checkbox |
N |
N |
Y |
|
find_products |
| 130 |
4.5 |
|
0 |
T |
Length |
Length |
|
cm |
|
129 |
0 |
0 |
text |
N |
N |
Y |
|
describe_product |
| 148 |
N |
|
0 |
C |
Microwave Safe |
Microwave Safe |
|
|
|
0 |
0 |
|
checkbox |
N |
N |
N |
|
find_products |
| 74 |
|
|
19150 |
S |
Net Content |
Net Content |
|
|
Single |
0 |
2 |
|
text |
N |
N |
Y |
|
find_products |
| 67 |
|
|
12427 |
S |
Net Weight |
Net Weight |
|
gm |
30 |
0 |
1 |
|
dropdown_labels |
N |
N |
Y |
|
group_catalog_item |
| 34 |
|
|
18256 |
M |
Skin Type |
Skin Type |
|
|
Dry |
0 |
20 |
|
multiple_checkbox |
N |
N |
Y |
|
find_products |