Query time 0.00151
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 69.57964986,
"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": 4,
"cost": 0.00774628,
"filtered": 100,
"attached_condition": "cscart_categories.category_id in (456,457,458,459) 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": 4,
"rows": 3977,
"cost": 2.61316388,
"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": 15908,
"rows": 1,
"cost": 18.29362192,
"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": 15908,
"rows": 1,
"cost": 14.23038992,
"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": 15908,
"rows": 1,
"cost": 18.61229072,
"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": 15908,
"rows": 1,
"cost": 15.82243714,
"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 |
| 116529 |
Bulk Product 104698 |
CS-Cart1 |
P |
0 |
| 22384 |
Colors Queen Moon Star 6 Color Glitter Eyeshadow Palette | Shimmery Finish Highly Sparkle Glitter Eyeshadow Palette | Long Lasting Eye Makeup Palette (Shade - 01, 15g) |
CS-Cart1 |
P |
0 |
| 116423 |
DAUGHTER EARTH Full Coverage Natural Cream Concealer for Face Makeup For All skin type, Lightweight & Breathable, Creaseless Finish | Pro Concealer with Bakuchiol | Shade- Cappuccino 4.5g |
CS-Cart1 |
P |
0 |
| 116425 |
DAUGHTER EARTH Full Coverage Natural Cream Concealer for Face Makeup For All skin type, Lightweight & Breathable, Creaseless Finish | Pro Concealer with Bakuchiol | Shade- FRAPPE 4.5g |
CS-Cart1 |
P |
0 |
| 312436 |
DAUGHTER EARTH High Coverage Concealer For Face Makeup, Lightweight & Breathable Silicone Free 100% Vegan Make Up, Creaseless Finish | Pro Concealer With Bakuchiol | Mocha, Natural, Powder |
CS-Cart1 |
P |
0 |
| 312019 |
DAUGHTER EARTH High Coverage Concealer For Face Makeup, Lightweight & Breathable Silicone Free 100% Vegan Make Up, Creaseless Finish | Pro Concealer With Bakuchiol | Vanilla, Natural, Cream |
CS-Cart1 |
P |
0 |
| 116427 |
DAUGHTER EARTH Natural Finish High Coverage Concealer Powder for Face Makeup, Lightweight & Breathable Silicone Free 100% Vegan Makeup, Creaseless | Pro Concealer With Bakuchiol | Shade- Latte |
CS-Cart1 |
P |
0 |
| 116525 |
Dream Beauty Dreamscape Liquid Eyeshadow | Long-Wear Metallic Shimmer Eye Makeup | Lightweight, Blendable, Quick Dry Formula | Smudge-Proof & Non-Transfer | 10gm | (CORAL CONSTELLATION) |
CS-Cart1 |
P |
0 |
| 116539 |
Glam 21 Eye Spirits Eye Shadow Palette | Highly Pigmented | Matte and Shimmer | Long Lasting Eye Shadow Palette |Blendable & Crease-proof | 18gm | 01-Mimosa (Multicolor) |
CS-Cart1 |
P |
0 |
| 116517 |
Hilary Rhoda Eyeshadow Palette | 16 Multicolor Matte & Shimmer Shades | Eye Makeup Highly Pigmented, Long-Lasting, Waterproof & Blendable Eye Makeup | Professional & Beginner Friendly (Shade 3) – 20.8g |
CS-Cart1 |
P |
0 |
| 312888 |
LAKMÉ Eyeconic Insta Cool Kajal, Matte Finish Pencil (Pack Of 2) (0.35G X 2) (Black, 0.7G), Multi |
CS-Cart1 |
P |
0 |
| 390924 |
LAKMÉ Eyeconic Insta Cool Kajal, Matte Finish Pencil (Pack Of 2) (0.35G X 2) (Black, 0.7G), Multi |
CS-Cart1 |
P |
0 |