Query time 0.00139
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 96.4885842,
"filesort": {
"sort_key": "descr1.product, products.product_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"loops": 1,
"rows": 5,
"cost": 0.00948507,
"filtered": 100,
"attached_condition": "cscart_categories.category_id in (223,224,225,226,227) and (cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` in ('A','H') and cscart_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["u985510652_ecartify.cscart_categories.category_id"],
"loops": 5,
"rows": 4107,
"cost": 3.37240485,
"filtered": 100
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u985510652_ecartify.products_categories.product_id"],
"loops": 20535,
"rows": 1,
"cost": 22.4321958,
"filtered": 100,
"attached_condition": "products.parent_product_id = 0 and (products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.product_type <> 'D'"
}
},
{
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["u985510652_ecartify.products.company_id"],
"loops": 20535,
"rows": 1,
"cost": 18.3689638,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": [
"u985510652_ecartify.products_categories.product_id",
"const"
],
"loops": 20535,
"rows": 1,
"cost": 31.9676838,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u985510652_ecartify.products_categories.product_id"],
"loops": 20535,
"rows": 1,
"cost": 20.33785087,
"filtered": 100,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)",
"using_index": true
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
| 312419 |
Alex Vando Mens Golf Shirt Moisture Wicking Quick-Dry Solid Short Sleeve Polo Shirts for Men |
AutoZone |
P |
0 |
| 391002 |
Ben Martin Men's Cotton Mandarin Collar Shirt with Chest Pocket |
CS-Cart |
P |
0 |
| 390979 |
Bewakoof Men's Fleece Super Loose Fit Joggers|Bewakoof Heavy Duty庐 1.0 | Track pants for man | Lower for man | Trouser for men | Baggy trackpants for men | Multipurpose | Mens Lower Activewear | Utility Pockets | Lightweight & Flexible Elastic Waist | Cas |
CS-Cart |
P |
0 |
| 390978 |
Bewakoof Men's Straight Fit Mid Rise Jeans |
CS-Cart |
P |
0 |
| 391013 |
Black shirt |
CS-Cart |
P |
0 |
| 391014 |
blue shirt |
CS-Cart |
P |
0 |
| 390986 |
Brand - Symbol Men's Stretchable Slim Fit Cargo Jogger Pants | Chinos | Casual Trousers |
CS-Cart |
P |
0 |
| 112217 |
Bulk Product 100388 |
CS-Cart |
P |
0 |
| 391009 |
Casual Shirt for Men |
CS-Cart |
P |
0 |
| 400923 |
chocopie |
CS-Cart |
P |
0 |
| 391023 |
Coffee Mug Set |
CS-Cart |
P |
0 |
| 312417 |
Columbia Mens Roughtail Stretch Flannel Long Sleeve |
CS-Cart |
P |
0 |
| 312421 |
COOFANDY Men's Knit Polo Sweater Long Sleeve Casual Collared Quarter Button Golf Waffle Textured Sweater |
CS-Cart |
P |
0 |
| 390994 |
Cotton King Mens Shirts | 100% Cotton Long Sleeve Shirts for Men | Button Down Shirt Men | Oxford Mens Dress Shirt |
CS-Cart |
P |
0 |
| 312426 |
Crop Top 007 |
CS-Cart |
P |
0 |
| 312427 |
Crop Top 008 |
CS-Cart |
P |
0 |
| 312428 |
Crop Top 009 |
CS-Cart |
P |
0 |
| 312429 |
Crop Top 010 |
CS-Cart |
P |
0 |
| 312430 |
Crop Top 011 |
CS-Cart |
P |
0 |
| 312431 |
Crop Top 012 |
CS-Cart |
P |
0 |
| 312432 |
Crop Top 013 |
CS-Cart |
P |
0 |
| 312433 |
Crop Top 014 |
CS-Cart |
P |
0 |
| 461018 |
Ecartify Test |
Parrot Products Botswana |
P |
0 |
| 390974 |
GSH Plug & Play Wireless Video Game for Kids (8 bit Retro Built-in Games) for up to 2 Players-Multi Color |
CS-Cart |
P |
0 |
| 391026 |
Herbal Tea Collection |
CS-Cart |
P |
0 |
| 391008 |
Highlander Men's Striped Relaxed Fit Shirt |
CS-Cart |
P |
0 |
| 393787 |
I Phone 11 Pro Max |
CS-Cart |
P |
0 |
| 400916 |
ID 400916 |
CS-Cart |
P |
0 |
| 312423 |
IZOD Mens Big and Tall Stratton Flannel Long Sleeve Stretch Button Down Shirt |
CS-Cart |
P |
0 |
| 390980 |
Jockey 9500 Men's Super Combed Cotton Rich Regular Fit Mid Rise Trackpants with Side Pockets |
CS-Cart |
P |
0 |
| 400921 |
just for testing one |
CS-Cart |
P |
0 |
| 400925 |
just for testing three |
CS-Cart |
P |
0 |
| 400922 |
just for testing two |
CS-Cart |
P |
0 |
| 400924 |
just for testing two |
CS-Cart |
P |
0 |
| 312420 |
K-Swiss Men's Long Sleeve Polo Shirts - Golf Tennis Dry Fit Performance Moisture Wicking Casual Collared |
CS-Cart |
P |
0 |
| 460961 |
kajal |
CS-Cart |
P |
0 |
| 390977 |
KOTTY Mens Regular Fit|Classic Design with Stylish Look |Day Comfort|Mide Rise Strachable Jeans |
CS-Cart |
P |
0 |
| 390984 |
Leriya Fashion Men's Cargo Pants with Pockets | Cotton Joggers for Man | 6 Pocket Jeans Pant | Casual Trousers for Men | Track Pants for Office and Parties | Comfortable Casual Workwear |
CS-Cart |
P |
0 |
| 390981 |
Lymio Men High Rise Regular Fit Causal Trouser || Pant (TR-20-23) |
CS-Cart |
P |
0 |
| 391005 |
Men Cotton half sleeve shirt |
CS-Cart |
P |
0 |
| 391003 |
Men Cotton Shirt |
CS-Cart |
P |
0 |
| 390987 |
Men's Cotton Blend Self-Design Trousers | Mid-Rise Regular Fit Pants for Work, Travel & Casual Wear (Pack of 2) |
CS-Cart |
P |
0 |
| 391006 |
Men's Cotton Vintage Contrast Smart Fit Full Sleeve Solid Shirt |
CS-Cart |
P |
0 |
| 391004 |
MenCotton Full SLeeve shirt |
CS-Cart |
P |
0 |
| 391007 |
Mens Regular fit Solid Casual Cotton Shirt with Spread Collar and Full Sleeves | Stylish & Comfortable | Ideal for Office, Casual Outings, Meetings |
CS-Cart |
P |
0 |
| 391028 |
Mi Smart Watch घड़ी |
CS-Cart |
P |
0 |
| 460952 |
Mi Smart Watch घड़ी [CLONE] |
CS-Cart |
P |
0 |
| 391015 |
Mint Green Shirt |
CS-Cart |
P |
0 |