Query time 0.00153
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.01607091,
"filesort": {
"sort_key": "descr1.product, products.product_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"loops": 1,
"rows": 3,
"cost": 0.00222153,
"filtered": 100,
"attached_condition": "products_categories.category_id <=> 217"
}
},
{
"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_dev.products_categories.product_id"],
"loops": 3,
"rows": 1,
"cost": 0.00514092,
"filtered": 27.49785805,
"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_dev.products.company_id"],
"loops": 1,
"rows": 1,
"cost": 0.00171364,
"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_dev.products_categories.product_id",
"const"
],
"loops": 1,
"rows": 1,
"cost": 0.00171364,
"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": "usergroup",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u985510652_ecartify_dev.products_categories.product_id"],
"loops": 1,
"rows": 1,
"cost": 0.00178377,
"filtered": 96.69136047,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)"
}
},
{
"table": {
"table_name": "tags_links",
"access_type": "ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["object_type", "object_id"],
"ref": [
"const",
"u985510652_ecartify_dev.products_categories.product_id"
],
"loops": 1,
"rows": 1,
"cost": 0.00178377,
"filtered": 100,
"attached_condition": "trigcond(tags_links.object_type = 'P')"
}
},
{
"table": {
"table_name": "tags",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["tag_id"],
"ref": ["u985510652_ecartify_dev.tags_links.tag_id"],
"loops": 1,
"rows": 1,
"cost": 0.00171364,
"filtered": 100,
"attached_condition": "trigcond(tags.`status` = 'A' or tags.tag_id is null) and trigcond(trigcond(tags_links.tag_id is not null))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
product_type |
parent_product_id |
full_description |
short_description |
tags |
| 233 |
Crystal Lake Warm Weather Sleeping Bag |
Store |
P |
0 |
<p>• Coleman® warm weather sleeping bags made for camping temperatures between 40 and 60 degrees<br />• Rectangle shape, 33” x 75”, fits up to 5’11” tall<br />• 3 pounds of ThermoTech® insulation<br />• Cotton cover with soft cotton liner<br />• Essential camping gear, sleeping bag for a better night outdoors<br />• Don’t forget the Coleman® camping tent to go with your sleeping bags<br />• ComfortSmart™ Technology includes:<br />• ZipPlow™ plows fabric away from zipper to prevent snags<br />• ComfortCuff™ surrounds your face with softness<br />• Roll Control™ locks bag in place for easier rolling<br />• FiberLock™ prevents insulation from shifting, increases durability<br />• ThermoLock™ construction reduces heat loss through the zipper, keeping you warmer<br />• ZipperGlide™ tailoring allows smooth zipper operation around the corners<br />• QuickCord™ for easy, no tie closure<br />• Commercial Machine washable<br />• Five year limited warranty<br />• Made in China</p> |
|
|
| 235 |
Everglades Cold Weather Sleeping Bag |
Store |
P |
0 |
<p>• The perfect sleeping bag for extreme sleeping conditions between 10 and 30 degrees<br />• 3 lbs Coletherm® insulation<br />• 33” x 85”, fits up to 5’11” tall<br />• Diamond ripstop cover to polyester liner<br />• Double-batt, offset quilt construction eliminates potential cold spots<br />• Essential camping gear, sleeping bag for a better night outdoors<br />• Semi-sculpted hood surrounds head with warmth, keeps head off the ground<br />• Fleece foot section provides extra warmth<br />• Two way zipper for maximum ventilation<br />• Stuff sack included<br />• Made in China<br />• Commercial Machine washable<br />• Five year limited warranty</p> |
|
|
| 234 |
White Waterâ„¢ Cool Weather Sleeping Bag |
Store |
P |
0 |
<p>• Coleman® cool weather sleeping bags made for camping temperatures between 30 and 50 degrees<br />• Rectangle shape, big & tall 39” x 84”, fits up to 6’4” tall<br />• 4 pounds of Coletherm® insulation<br />• Polyester cover with cotton flannel liner<br />• Groundbreaking headrest shape makes keeping your head off the ground or floor easy<br />• Essential camping gear, sleeping bag for a better night outdoors<br />• Don’t forget the Coleman® camping tent to go with your sleeping bags<br />• ComfortSmart™ Technology includes:<br />• ZipPlow™ plows fabric away from zipper to prevent snags<br />• ComfortCuff™ surrounds your face with softness<br />• Roll Control™ locks bag in place for easier rolling<br />• FiberLock™ prevents insulation from shifting, increases durability<br />• ThermoLock™ construction reduces heat loss through the zipper, keeping you warmer<br />• ZipperGlide™ tailoring allows smooth zipper operation around the corners<br />• QuickCord™ for easy, no tie closure<br />• Commercial Machine washable<br />• Five year limited warranty<br />• Made in China</p> |
|
|