{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "popularity.total desc, products.product_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "companies",
"access_type": "const",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "products",
"access_type": "index_merge",
"possible_keys": ["PRIMARY", "status", "idx_parent_product_id"],
"key_length": "4,3",
"index_merge": {
"intersect": [
{
"range": {
"key": "idx_parent_product_id",
"used_key_parts": ["parent_product_id"]
}
},
{
"range": {
"key": "status",
"used_key_parts": ["status"]
}
}
]
},
"rows": 4670,
"filtered": 100,
"attached_condition": "products.company_id = 358 and products.parent_product_id = 0 and (products.amount > 0 or products.tracking = 'D') and (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": "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.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.products.product_id", "const"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "popularity",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "total"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["dev_db.products.product_id"],
"rows": 1,
"filtered": 100
}
},
{
"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": ["dev_db.products.product_id"],
"rows": 1,
"filtered": 99.9960556,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)"
}
},
{
"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.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
}
}
]
}
}
}
}
product_id | product | company_name | product_type | parent_product_id | average_rating | product_reviews_count |
---|---|---|---|---|---|---|
3866 | Brown Ceramic Pig Figurine, Pig Family Collection, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free | HCERAMIC | P | 0 | 5.00 | 10 |
3867 | Yellow Green Ceramic Pig Figurine, Pig Family Collection, 4 Sizes, Cute Ceramic Statue, Ceramic Decoration, Vietnamese Handcrafted, Feng Shui Gift | HCERAMIC | P | 0 | 5.00 | 5 |
3868 | Green Ceramic Pig Figurine, Pig Family Collection, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free | HCERAMIC | P | 0 | 5.00 | 6 |
3869 | Ceramic Mommy Pig Figurine, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free, Gift Ideas, Rustic | HCERAMIC | P | 0 | 5.00 | 15 |
3865 | Ceramic Blue Pig Figurine, Pig Family Collection, Animal Figurine, Vietnamese Pottery Art, Hand-crafted Decoration | HCERAMIC | P | 0 | 4.88 | 17 |
3870 | Ceramic Big Piglet Figurine, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free, Gift Ideas, Rustic | HCERAMIC | P | 0 | 5.00 | 15 |
3872 | Lacquered Buffalo, Vietnamese Elements, Beautiful Feng Shui Decor, Interior Decoration, Feng Shui Gift | HCERAMIC | P | 0 | 5.00 | 17 |
3871 | Ceramic Daddy Pig Figurine, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free, Gift Ideas, Rustic | HCERAMIC | P | 0 | 5.00 | 10 |
3876 | Yellow And Green Ceramic Buffalo Figurine, Vietnamese Ceramic, Vietnamese Gift, A Timeless Gift For Any Occasion, Handcrafted With Care, Vivid Colors And Intricate Design, Symbolic Meaning, Housewarming Gift, Wedding Gift | HCERAMIC | P | 0 | 5.00 | 16 |
3862 | Ceramic Ren Yin Tiger Figurine, Blue Female Version, Ceramic Figurine, Vietnamese Ceramics, Decorations, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 7 |
3863 | Ceramic Ren Yin Tiger Figurine, Turkish Blue Female Version, Ceramic Figurine, Vietnamese Ceramics, Decorations, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 20 |
35730 | Cat Family Ceramic Figurine Set, Cat Figurines, Home Décor, Handmade Ceramic Cat Statuettes, Unique Cat Gifts, Gift For Cat Lovers, Housewarming Gift | HCERAMIC | P | 0 | 5.00 | 6 |
3864 | Multiple Color Ceramic Jar In Duck Shape, Handcrafted Ceramic, Ceramic Decor, Unique Design, Storage Container, Kitchen Decoration | HCERAMIC | P | 0 | 5.00 | 8 |
3861 | Ceramic Ren Yin Tiger Figurine, Blue Male Version, Ceramic Figurine, Vietnamese Ceramics, Decorations, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 20 |
35731 | Lacquered Cat Ceramic Figurine With Flower Carvings | HCERAMIC | P | 0 | 5.00 | 10 |
3873 | Dark Yellow Ceramic Buffalo Figurine | HCERAMIC | P | 0 | 5.00 | 3 |
47984 | Glazed Dragon Ceramic Figurine - HCERAMIC | HCERAMIC | P | 0 | 5.00 | 6 |
3874 | Turquoise Ceramic Buffalo Figurine, Mother and Baby Buffalo Collection, Vietnamese Ceramic, Handcrafted Ceramic, Space Decoration, Feng Shui Gift | HCERAMIC | P | 0 | 5.00 | 11 |
3884 | Green Ceramic Chicken Figurine, Large Size, Ceramic Figurine, Vietnamese Ceramics, Decorations, Unique, Handicraft, Toxin-Free, Gift | HCERAMIC | P | 0 | 5.00 | 15 |
3875 | Green Ceramic Buffalo Figurine, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 5 |
3880 | Blue Ceramic Wooden Bell Buffalo Figurine, Ceramic Figurine, Vietnamese Ceramics, Decor Item, Unique Design, Handicraft, Toxin-Free | HCERAMIC | P | 0 | 5.00 | 13 |
3877 | Green Ceramic Wooden Bell Buffalo Figurine, Ceramic Figurine, Vietnamese Ceramics, Decorations, Unique, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 7 |
3859 | Ceramic Ren Yin Tiger Figurine, Yellow Male Version, Ceramic Figurine, Vietnamese Ceramics, Decorations, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 15 |
3879 | Light Green Ceramic Wooden Bell Buffalo Figurine, Light Green Color, Ceramic, Handcrafted Ceramic, Ceramic Decor, Unique Design | HCERAMIC | P | 0 | 5.00 | 11 |
35729 | A Family Of Fish Ceramic Figurine Set | HCERAMIC | P | 0 | 5.00 | 8 |
3881 | White Ceramic Chicken Figurine, 3 Sizes, Multipurpose Jar, Ceramic Egg Holder, Ceramic Kitchenware, Handcrafted Ceramic, Vietnamese Ceramic | HCERAMIC | P | 0 | 5.00 | 10 |
3860 | Ceramic Ren Yin Tiger Figurine, Green Male Version, Ceramic Figurine, Vietnamese Ceramics, Decorations, Handicraft, Toxin-Free, Gift Ideas | HCERAMIC | P | 0 | 5.00 | 6 |
3883 | Yellow & Green Ceramic Chicken Figurine, Large Size, Multipurpose Jar, Ceramic Egg Holder, Handcrafted Ceramic, Vietnamese Ceramic | HCERAMIC | P | 0 | 5.00 | 10 |
3882 | Dark Yellow Ceramic Chicken Figurine, Multiple Sizes, Ceramic Figurine, Vietnamese Ceramics, Decorations, Unique, Handicraft, Toxin-Free | HCERAMIC | P | 0 | 5.00 | 5 |
35859 | Glazed Cat Ceramic Figurine With Flower Carvings | HCERAMIC | P | 0 | 4.91 | 11 |