Query time 0.00657
JSON explain
{
"query_block": {
"select_id": 1,
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "variation_group_products",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"rows": 14,
"filtered": 100,
"index_condition": "variation_group_products.group_id in (14608,14610,14612,14609,14611)"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["dev_db.variation_group_products.product_id"],
"rows": 1,
"filtered": 52.07608414,
"attached_condition": "(products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A'"
}
},
{
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["dev_db.products.company_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "11",
"used_key_parts": ["product_id", "lang_code"],
"ref": ["dev_db.variation_group_products.product_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_product_review_prepared_data",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "7",
"used_key_parts": ["product_id", "storefront_id"],
"ref": ["dev_db.variation_group_products.product_id", "const"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["dev_db.variation_group_products.product_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["dev_db.products_categories.category_id"],
"rows": 1,
"filtered": 100,
"using_index": true
}
}
]
}
}
}
Result
product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
average_rating |
product_reviews_count |
25741 |
1998 |
Summer Crochet Handbag, Beach Tote Bag, Spacious And Convenient Design, Rustic Style, Suitable For Pairing With Maxi Dresses |
Ball Bee |
14608 |
V |
396 |
5.00 |
2 |
25740 |
1998 |
Summer Crochet Handbag, Beach Tote Bag, Spacious And Convenient Design, Rustic Style, Suitable For Pairing With Maxi Dresses |
Ball Bee |
14608 |
V |
396 |
5.00 |
2 |
25739 |
1998 |
Summer Crochet Handbag, Beach Tote Bag, Spacious And Convenient Design, Rustic Style, Suitable For Pairing With Maxi Dresses |
Ball Bee |
14608 |
V |
396 |
5.00 |
2 |
396 |
1998 |
Summer Crochet Handbag, Beach Tote Bag, Spacious And Convenient Design, Rustic Style, Suitable For Pairing With Maxi Dresses |
Ball Bee |
14608 |
P |
0 |
5.00 |
2 |
25743 |
1992 |
Bohemian Rattan Shoulder Bag, Trendy Design, Colorful Turtle Pattern, Striking Color Combination, Perfect Beach Accessory |
Ball Bee |
14609 |
V |
394 |
5.00 |
1 |
394 |
1992 |
Bohemian Rattan Shoulder Bag, Trendy Design, Colorful Turtle Pattern, Striking Color Combination, Perfect Beach Accessory |
Ball Bee |
14609 |
P |
0 |
5.00 |
1 |
25742 |
1992 |
Bohemian Rattan Shoulder Bag, Trendy Design, Colorful Turtle Pattern, Striking Color Combination, Perfect Beach Accessory |
Ball Bee |
14609 |
V |
394 |
5.00 |
1 |
25744 |
1994 |
Boho Knitting Purse, Compact Size, Subtle Colors, Uniqe Design, Highly Practical, Fits Essential Personal Items |
Ball Bee |
14610 |
V |
393 |
4.67 |
3 |
393 |
1994 |
Boho Knitting Purse, Compact Size, Subtle Colors, Uniqe Design, Highly Practical, Fits Essential Personal Items |
Ball Bee |
14610 |
P |
0 |
4.67 |
3 |
25747 |
1998 |
Wicker Baby Rattle, Enhances Exploration Skills for Kids, Made of Natural Material, Ensures Safety for Young Children |
Ball Bee |
14611 |
V |
392 |
5.00 |
4 |
25746 |
1998 |
Wicker Baby Rattle, Enhances Exploration Skills for Kids, Made of Natural Material, Ensures Safety for Young Children |
Ball Bee |
14611 |
V |
392 |
5.00 |
4 |
25745 |
1998 |
Wicker Baby Rattle, Enhances Exploration Skills for Kids, Made of Natural Material, Ensures Safety for Young Children |
Ball Bee |
14611 |
V |
392 |
5.00 |
4 |
392 |
1998 |
Wicker Baby Rattle, Enhances Exploration Skills for Kids, Made of Natural Material, Ensures Safety for Young Children |
Ball Bee |
14611 |
P |
0 |
5.00 |
4 |
25749 |
1997 |
Handmade Rattan Shoe Storage Basket, Natural Rattan Material, Unique Design, Home Decoration, Handcrafted Product |
Ball Bee |
14612 |
V |
391 |
5.00 |
2 |
25748 |
1997 |
Handmade Rattan Shoe Storage Basket, Natural Rattan Material, Unique Design, Home Decoration, Handcrafted Product |
Ball Bee |
14612 |
V |
391 |
5.00 |
2 |
391 |
1997 |
Handmade Rattan Shoe Storage Basket, Natural Rattan Material, Unique Design, Home Decoration, Handcrafted Product |
Ball Bee |
14612 |
P |
0 |
5.00 |
2 |