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 (381, 382, 395, 384) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00032

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "13.61"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "8.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": "(`CS_Cart_Dev`.`c`.`container_id` in (381,382,395,384))",
            "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": [
              "CS_Cart_Dev.c.container_id"
            ],
            "rows_examined_per_scan": 2,
            "rows_produced_per_join": 8,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "2.00",
              "eval_cost": "0.80",
              "prefix_cost": "5.61",
              "data_read_per_join": "7K"
            },
            "used_columns": [
              "grid_id",
              "container_id",
              "parent_id",
              "order",
              "width",
              "offset",
              "user_class",
              "omega",
              "alpha",
              "wrapper",
              "content_align",
              "html_element",
              "clear",
              "status",
              "abt__ut2_extended",
              "abt__ut2_padding",
              "abt__ut2_show_blocks_in_tabs",
              "abt__ut2_use_lazy_load"
            ]
          }
        }
      ]
    }
  }
}

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 abt__ut2_extended abt__ut2_padding abt__ut2_show_blocks_in_tabs abt__ut2_use_lazy_load
381 96 TOP_PANEL 8 top-grid-location N A 0 570 0 0 0 0 1 LEFT div 0 0 no N
382 96 HEADER 16 top-menu-grid Y A 0 572 0 0 0 1 1 FULL_WIDTH div 1 0 no N
384 96 FOOTER 16 ty-footer-menu b-top Y A 0 578 0 0 0 1 1 FULL_WIDTH div 1 E no N
384 96 FOOTER 16 ty-footer-grid__full-width footer-copyright Y A 0 583 0 0 0 1 1 FULL_WIDTH div 1 O no N
395 99 CONTENT 16 top-sticky-panel__filters Y A 0 637 0 0 0 1 1 FULL_WIDTH div 1 E no N
395 99 CONTENT 16 Y A 0 638 0 0 0 1 1 FULL_WIDTH div 1 F no N
395 99 CONTENT 16 ut2__subcategories Y A 0 639 0 0 0 1 1 FULL_WIDTH div 1 E no N
395 99 CONTENT 9 main-content-grid Y A 0 640 0 0 0 0 1 FULL_WIDTH div 0 0 no N
395 99 CONTENT 7 side-grid Y A 0 641 0 0 0 1 0 FULL_WIDTH div 1 0 ut2-bottom no N
395 99 CONTENT 16 b-top Y A 0 642 0 0 0 1 1 FULL_WIDTH div 1 O ut2-top-bottom no N
382 96 HEADER 4 top-logo Y A 0 573 572 0 0 0 1 FULL_WIDTH div 0 0 no N
382 96 HEADER 9 top-search Y A 0 574 572 0 0 0 0 FULL_WIDTH div 0 0 no N
382 96 HEADER 3 top-buttons top-button-cart Y A 0 575 572 0 0 1 0 FULL_WIDTH div 1 0 no N
384 96 FOOTER 4 my-account-grid Y A 0 579 578 0 0 0 1 LEFT div 0 0 no N
384 96 FOOTER 8 Y A 0 584 583 0 0 0 1 LEFT div 0 0 no N
381 96 TOP_PANEL 8 top-links-grid N A 0 571 0 1 0 1 0 RIGHT div 1 0 no N
384 96 FOOTER 4 customer-service-grid Y A 0 581 578 1 0 0 0 LEFT div 0 0 no N
384 96 FOOTER 4 demo-store-grid Y A 0 580 578 2 0 0 0 LEFT div 0 0 no N
384 96 FOOTER 8 Y A 0 585 583 2 0 1 0 RIGHT div 1 0 no N
384 96 FOOTER 4 about-grid Y A 0 582 578 3 0 1 0 LEFT div 1 0 no N