Query time 0.00136
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.79"
    },
    "grouping_operation": {
      "using_filesort": false,
      "nested_loop": [
        {
          "table": {
            "table_name": "point_prices",
            "access_type": "system",
            "possible_keys": [
              "unique_key",
              "src_k"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "const_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "24"
            },
            "used_columns": [
              "product_id",
              "point_price",
              "lower_limit",
              "usergroup_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_products",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "status"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "product_id",
              "product_code",
              "product_type",
              "status",
              "company_id",
              "list_price",
              "amount",
              "weight",
              "length",
              "width",
              "height",
              "shipping_freight",
              "low_avail_limit",
              "timestamp",
              "updated_timestamp",
              "usergroup_ids",
              "is_edp",
              "edp_shipping",
              "unlimited_download",
              "tracking",
              "free_shipping",
              "zero_price_action",
              "is_pbp",
              "is_op",
              "is_oper",
              "is_returnable",
              "return_period",
              "avail_since",
              "out_of_stock_actions",
              "localization",
              "min_qty",
              "max_qty",
              "qty_step",
              "list_qty_count",
              "tax_ids",
              "age_verification",
              "age_limit",
              "options_type",
              "exceptions_type",
              "details_layout",
              "shipping_params",
              "facebook_obj_type",
              "parent_product_id",
              "buy_now_url",
              "units_in_product",
              "show_price_per_x_units"
            ]
          }
        },
        {
          "table": {
            "table_name": "popularity",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "total"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "32"
            },
            "used_columns": [
              "product_id",
              "total"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_sales",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "pa"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "product_id"
            ],
            "key_length": "6",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 0,
            "rows_produced_per_join": 1,
            "filtered": "0.00",
            "unique_row_not_found": true,
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "category_id",
              "product_id",
              "amount"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_products_categories",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "pt"
            ],
            "key": "pt",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "1.00",
              "eval_cost": "0.20",
              "prefix_cost": "1.20",
              "data_read_per_join": "16"
            },
            "used_columns": [
              "product_id",
              "category_id",
              "link_type",
              "category_position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "p_category_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id"
            ],
            "key_length": "3",
            "ref": [
              "atulecarter_atul_demo5.cscart_products_categories.category_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "5.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.01",
              "prefix_cost": "1.40",
              "data_read_per_join": "133"
            },
            "used_columns": [
              "category_id",
              "storefront_id",
              "usergroup_ids",
              "status"
            ],
            "attached_condition": "((`atulecarter_atul_demo5`.`cscart_categories`.`storefront_id` in (0,1)) and ((`atulecarter_atul_demo5`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`atulecarter_atul_demo5`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`atulecarter_atul_demo5`.`cscart_categories`.`usergroup_ids`)) and (`atulecarter_atul_demo5`.`cscart_categories`.`status` in ('A','H')))"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_prices",
            "access_type": "range",
            "possible_keys": [
              "usergroup",
              "product_id",
              "lower_limit",
              "usergroup_id"
            ],
            "key": "usergroup",
            "used_key_parts": [
              "product_id",
              "usergroup_id",
              "lower_limit"
            ],
            "key_length": "9",
            "rows_examined_per_scan": 2,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "using_join_buffer": "Block Nested Loop",
            "cost_info": {
              "read_cost": "0.13",
              "eval_cost": "0.02",
              "prefix_cost": "1.55",
              "data_read_per_join": "2"
            },
            "used_columns": [
              "product_id",
              "price",
              "percentage_discount",
              "lower_limit",
              "usergroup_id"
            ],
            "attached_condition": "(<if>(found_match(cscart_product_prices), 1, true) and <if>(is_not_null_compl(cscart_product_prices), ((`atulecarter_atul_demo5`.`cscart_product_prices`.`lower_limit` = 1) and (`atulecarter_atul_demo5`.`cscart_product_prices`.`product_id` = 241) and (`atulecarter_atul_demo5`.`cscart_product_prices`.`usergroup_id` in (0,0,1))), true))"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_descriptions",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "product_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.57",
              "data_read_per_join": "467"
            },
            "used_columns": [
              "product_id",
              "lang_code",
              "product",
              "shortname",
              "short_description",
              "full_description",
              "meta_keywords",
              "meta_description",
              "search_words",
              "page_title",
              "age_warning_message",
              "promo_text",
              "unit_name"
            ]
          }
        },
        {
          "table": {
            "table_name": "shared_prices",
            "access_type": "ref",
            "possible_keys": [
              "usergroup",
              "product_id",
              "company_id",
              "lower_limit",
              "usergroup_id"
            ],
            "key": "usergroup",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.02",
              "prefix_cost": "1.69",
              "data_read_per_join": "3"
            },
            "used_columns": [
              "product_id",
              "price",
              "percentage_discount",
              "lower_limit",
              "company_id",
              "usergroup_id"
            ],
            "attached_condition": "<if>(is_not_null_compl(shared_prices), ((`atulecarter_atul_demo5`.`shared_prices`.`lower_limit` = 1) and (`atulecarter_atul_demo5`.`shared_prices`.`company_id` = 1) and (`atulecarter_atul_demo5`.`shared_prices`.`usergroup_id` in (0,0,1))), true)"
          }
        },
        {
          "table": {
            "table_name": "companies",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.71",
              "data_read_per_join": "557"
            },
            "used_columns": [
              "company_id",
              "status",
              "company"
            ],
            "attached_condition": "<if>(found_match(companies), ((`atulecarter_atul_demo5`.`companies`.`status` = 'A') or 0), true)"
          }
        },
        {
          "table": {
            "table_name": "cscart_seo_names",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code",
              "company_id"
            ],
            "key_length": "210",
            "ref": [
              "const",
              "const",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.73",
              "data_read_per_join": "173"
            },
            "used_columns": [
              "name",
              "object_id",
              "company_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_discussion",
            "access_type": "const",
            "possible_keys": [
              "object_id",
              "idx_company_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "company_id"
            ],
            "key_length": "10",
            "ref": [
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.75",
              "data_read_per_join": "2"
            },
            "used_columns": [
              "object_id",
              "object_type",
              "type",
              "company_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_review_prepared_data",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id",
              "storefront_id"
            ],
            "key_length": "7",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.77",
              "data_read_per_join": "1"
            },
            "used_columns": [
              "product_id",
              "storefront_id",
              "average_rating",
              "reviews_count"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_ec_table_booking_system",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "product_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.02",
              "prefix_cost": "1.79",
              "data_read_per_join": "17"
            },
            "used_columns": [
              "product_id",
              "booking_type",
              "quantity_selector",
              "show_price_date",
              "blocked_date",
              "from_date",
              "to_date",
              "slot_time",
              "free_time",
              "days_data",
              "minimum_booking_time"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_ec_table_booking_system), <cache>((241 = 241)), true)"
          }
        }
      ]
    }
  }
}
    
            
            
                Result
                                    
                                                    | product_id | 
                                                    product_code | 
                                                    product_type | 
                                                    status | 
                                                    company_id | 
                                                    list_price | 
                                                    amount | 
                                                    weight | 
                                                    length | 
                                                    width | 
                                                    height | 
                                                    shipping_freight | 
                                                    low_avail_limit | 
                                                    timestamp | 
                                                    updated_timestamp | 
                                                    usergroup_ids | 
                                                    is_edp | 
                                                    edp_shipping | 
                                                    unlimited_download | 
                                                    tracking | 
                                                    free_shipping | 
                                                    zero_price_action | 
                                                    is_pbp | 
                                                    is_op | 
                                                    is_oper | 
                                                    is_returnable | 
                                                    return_period | 
                                                    avail_since | 
                                                    out_of_stock_actions | 
                                                    localization | 
                                                    min_qty | 
                                                    max_qty | 
                                                    qty_step | 
                                                    list_qty_count | 
                                                    tax_ids | 
                                                    age_verification | 
                                                    age_limit | 
                                                    options_type | 
                                                    exceptions_type | 
                                                    details_layout | 
                                                    shipping_params | 
                                                    facebook_obj_type | 
                                                    parent_product_id | 
                                                    buy_now_url | 
                                                    units_in_product | 
                                                    show_price_per_x_units | 
                                                    lang_code | 
                                                    product | 
                                                    shortname | 
                                                    short_description | 
                                                    full_description | 
                                                    meta_keywords | 
                                                    meta_description | 
                                                    search_words | 
                                                    page_title | 
                                                    age_warning_message | 
                                                    promo_text | 
                                                    unit_name | 
                                                    price | 
                                                    category_ids | 
                                                    popularity | 
                                                    company_name | 
                                                    sales_amount | 
                                                    seo_name | 
                                                    seo_path | 
                                                    point_price | 
                                                    discussion_type | 
                                                    average_rating | 
                                                    product_reviews_count | 
                                                    booking_type | 
                                                    from_date | 
                                                    to_date | 
                                                    slot_time | 
                                                    free_time | 
                                                    days_data | 
                                                    quantity_selector | 
                                                    show_price_date | 
                                                    blocked_date | 
                                                    minimum_booking_time | 
                                            
                                            
                                                            | 241 | 
                                                            I0241GCXF9 | 
                                                            P | 
                                                            A | 
                                                            1 | 
                                                            0.00 | 
                                                            10 | 
                                                            0.000 | 
                                                            0 | 
                                                            0 | 
                                                            0 | 
                                                            0.00 | 
                                                            0 | 
                                                            1383854400 | 
                                                            1383907142 | 
                                                            0 | 
                                                            N | 
                                                            N | 
                                                            N | 
                                                             | 
                                                            N | 
                                                             | 
                                                            Y | 
                                                            N | 
                                                            N | 
                                                            Y | 
                                                            10 | 
                                                            0 | 
                                                            N | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                            6 | 
                                                            N | 
                                                            0 | 
                                                             | 
                                                             | 
                                                            default | 
                                                            a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} | 
                                                             | 
                                                            0 | 
                                                             | 
                                                            0.000 | 
                                                            1.000 | 
                                                            en | 
                                                            Apple® - iPad® with Retina® display Wi-Fi - 32GB - White | 
                                                             | 
                                                             | 
                                                            <p>
	  iPad features a stunning Retina display, iSight® and FaceTime cameras, the all new A6X chip and ultrafast wireless. And with access to over 275,000 apps1 on the App Store, you can do more than ever.
</p> | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                            <p class="product-promo-text">
	 <span class="product-promo-header">FREE US shipping over $100!</span><span class="product-promo-body">Orders within next 2 days will be shipped on Monday</span>
</p> | 
                                                             | 
                                                            499.00000000 | 
                                                            165M | 
                                                            441 | 
                                                            CS-Cart | 
                                                             | 
                                                            apple-ipad-with-retina-display-wi-fi-32gb-white | 
                                                            166/167/165 | 
                                                             | 
                                                             | 
                                                            5.00 | 
                                                            3 | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             | 
                                                             |