Query time 0.00074
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_shippings.position",
      "temporary_table": {
        "table": {
          "table_name": "cscart_shippings",
          "access_type": "range",
          "possible_keys": ["shipping_id", "c_status"],
          "key": "shipping_id",
          "key_length": "3",
          "used_key_parts": ["shipping_id"],
          "rows": 2,
          "filtered": 100,
          "index_condition": "cscart_shippings.shipping_id in (37,34)",
          "attached_condition": "cscart_shippings.`status` = 'A' and cscart_shippings.min_weight <= 0.001 and (cscart_shippings.max_weight >= 0.001 or cscart_shippings.max_weight = 0.00) and (cscart_shippings.usergroup_ids = '' or find_in_set(0,cscart_shippings.usergroup_ids) or find_in_set(1,cscart_shippings.usergroup_ids))"
        },
        "table": {
          "table_name": "cscart_shipping_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["shipping_id", "lang_code"],
          "ref": ["cscart_purchase_fl_com.cscart_shippings.shipping_id", "const"],
          "rows": 1,
          "filtered": 100,
          "index_condition": "cscart_shipping_descriptions.lang_code = 'ja'"
        },
        "table": {
          "table_name": "cscart_shipping_services",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "sa"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["service_id"],
          "ref": ["cscart_purchase_fl_com.cscart_shippings.service_id"],
          "rows": 1,
          "filtered": 100
        },
        "block-nl-join": {
          "table": {
            "table_name": "storefronts_shippings",
            "access_type": "index",
            "key": "PRIMARY",
            "key_length": "8",
            "used_key_parts": ["storefront_id", "shipping_id"],
            "rows": 16,
            "filtered": 100,
            "using_index": true
          },
          "buffer_type": "flat",
          "buffer_size": "27Kb",
          "join_type": "BNL",
          "attached_condition": "trigcond(storefronts_shippings.storefront_id = 2 or storefronts_shippings.storefront_id is null) and trigcond(storefronts_shippings.shipping_id = cscart_shippings.shipping_id)"
        }
      }
    }
  }
}
    
            
            
                Result
                                    
                                                    | shipping_id | shipping | delivery_time | description | rate_calculation | service_params | destination | min_weight | max_weight | service_id | free_shipping | module | service_code | is_address_required | 
                                            
                                                            | 37 | ゆうパック |  |  | R | a:2:{s:15:"additional_cost";a:1:{s:4:"size";a:0:{}}s:8:"override";a:1:{s:4:"size";a:0:{}}} | I | 0.000 | 0.000 | 500 | N | japanpost | JAPANPOST_YU_PACK_BASE | Y | 
                                            
                                                            | 34 | クリックポスト |  |  | R | a:2:{s:15:"additional_cost";a:1:{s:4:"size";a:0:{}}s:8:"override";a:1:{s:4:"size";a:0:{}}} | I | 0.000 | 0.000 | 503 | N | japanpost | JAPANPOST_CLICKPOST | Y |