SELECT 
  * 
FROM 
  cscart_bm_containers as c 
  LEFT JOIN cscart_bm_grids as g ON g.container_id = c.container_id 
WHERE 
  1 
  AND g.container_id IN (6301, 6302, 6311, 6304) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00127

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.41"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "c",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "container_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 4,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "index_condition": "(`s2cart`.`c`.`container_id` in (6301,6302,6311,6304))",
            "cost_info": {
              "read_cost": "2.41",
              "eval_cost": "0.40",
              "prefix_cost": "2.81",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "container_id",
              "location_id",
              "position",
              "width",
              "user_class",
              "linked_to_default",
              "status",
              "company_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "g",
            "access_type": "ref",
            "possible_keys": [
              "container_id"
            ],
            "key": "container_id",
            "used_key_parts": [
              "container_id"
            ],
            "key_length": "3",
            "ref": [
              "s2cart.c.container_id"
            ],
            "rows_examined_per_scan": 4,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "4.00",
              "eval_cost": "1.60",
              "prefix_cost": "8.41",
              "data_read_per_join": "26K"
            },
            "used_columns": [
              "grid_id",
              "container_id",
              "parent_id",
              "order",
              "width",
              "offset",
              "user_class",
              "omega",
              "alpha",
              "wrapper",
              "content_align",
              "html_element",
              "clear",
              "status",
              "section_class",
              "section_width",
              "abt__ut2_extended",
              "abt__ut2_padding",
              "is_tabbed",
              "abt__ut2_use_lazy_load",
              "abt__ut2_show_blocks_in_tabs"
            ]
          }
        }
      ]
    }
  }
}

Result

container_id location_id position width user_class linked_to_default status company_id grid_id parent_id order offset omega alpha wrapper content_align html_element clear section_class section_width abt__ut2_extended abt__ut2_padding is_tabbed abt__ut2_use_lazy_load abt__ut2_show_blocks_in_tabs
6301 1576 TOP_PANEL 3 Y A 0 7919 0 0 0 0 1 LEFT div 0 S 0 N N no
6301 1576 TOP_PANEL 13 top-links-grid Y A 0 7920 0 0 0 1 0 RIGHT div 1 S 0 N N no
6302 1576 HEADER 16 top-menu-grid Y A 0 7921 0 0 0 1 1 FULL_WIDTH div 1 S 0 N N no
6304 1576 FOOTER 16 ty-footer-menu b-top Y A 0 7929 0 0 0 1 1 FULL_WIDTH div 1 S E N N no
6304 1576 FOOTER 16 ty-footer-grid__full-width footer-copyright Y A 0 7934 0 0 0 1 1 FULL_WIDTH div 1 S O N N no
6311 1578 CONTENT 16 main-content-grid Y A 0 7961 0 0 0 1 1 FULL_WIDTH div 1 S O ut2-bottom N N no
6311 1578 CONTENT 16 b-top Y A 0 7962 0 0 0 1 1 FULL_WIDTH div 1 S E ut2-top-bottom N N no
6311 1578 CONTENT 16 Y A 0 7965 0 0 0 1 1 FULL_WIDTH div 1 S O ut2-bottom N N no
6311 1578 CONTENT 16 fill--gray Y A 0 7966 0 0 0 1 1 FULL_WIDTH div 1 S E ut2-top-bottom N N no
6302 1576 HEADER 4 top-logo Y A 0 7922 7921 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
6302 1576 HEADER 9 top-search Y A 0 7923 7921 0 0 0 0 FULL_WIDTH div 0 S 0 N N no
6302 1576 HEADER 3 top-buttons top-button-cart Y A 0 7924 7921 0 0 1 0 FULL_WIDTH div 1 S 0 N N no
6304 1576 FOOTER 4 my-account-grid Y A 0 7930 7929 0 0 0 1 LEFT div 0 S 0 N N no
6304 1576 FOOTER 4 demo-store-grid Y A 0 7931 7929 0 0 0 0 LEFT div 0 S 0 N N no
6304 1576 FOOTER 4 customer-service-grid Y A 0 7932 7929 0 0 0 0 LEFT div 0 S 0 N N no
6304 1576 FOOTER 4 about-grid Y A 0 7933 7929 0 0 1 0 LEFT div 1 S 0 N N no
6304 1576 FOOTER 8 Y A 0 7935 7934 0 0 0 1 LEFT div 0 S 0 N N no
6304 1576 FOOTER 8 Y A 0 7936 7934 0 0 1 0 RIGHT div 1 S 0 N N no
6311 1578 CONTENT 16 Y A 0 7963 7962 0 0 1 1 FULL_WIDTH div 1 S 0 N N no
6311 1578 CONTENT 16 Y A 0 7964 7962 0 0 1 1 FULL_WIDTH div 1 S 0 N Y with_lazy_load
6302 1576 HEADER 16 Y A 0 9751 0 2 0 1 1 FULL_WIDTH div 1 S 0 N N no
6302 1576 HEADER 16 Y A 0 9752 0 4 0 1 1 FULL_WIDTH div 1 S 0 N N no
6302 1576 HEADER 16 Y A 0 9753 0 5 0 1 1 FULL_WIDTH div 0 S 0 N N no