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 (117, 118, 127, 120) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00087

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.48"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "14.31"
      },
      "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",
            "cost_info": {
              "read_cost": "2.16",
              "eval_cost": "0.40",
              "prefix_cost": "2.56",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "container_id",
              "location_id",
              "position",
              "width",
              "user_class",
              "linked_to_default",
              "status",
              "company_id"
            ],
            "attached_condition": "(`dev2`.`c`.`container_id` in (117,118,127,120))"
          }
        },
        {
          "table": {
            "table_name": "g",
            "access_type": "ref",
            "possible_keys": [
              "container_id"
            ],
            "key": "container_id",
            "used_key_parts": [
              "container_id"
            ],
            "key_length": "3",
            "ref": [
              "dev2.c.container_id"
            ],
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 14,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.18",
              "eval_cost": "1.43",
              "prefix_cost": "12.17",
              "data_read_per_join": "12K"
            },
            "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_in_tabs",
              "abt__ut2_use_ajax"
            ]
          }
        }
      ]
    }
  }
}

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_in_tabs abt__ut2_use_ajax
127 32 CONTENT 16 main-content-grid page-item Y A 0 159 0 0 0 1 1 FULL_WIDTH div 1 O ut2-bottom N N
117 30 TOP_PANEL 5 Y D 0 2563 0 0 0 0 1 LEFT div 0 0 N N
118 30 HEADER 2 hidden-phone Y A 0 2565 0 0 0 0 1 FULL_WIDTH div 0 0 N N
120 30 FOOTER 16 ty-footer-menu b-top Y A 0 2569 0 0 0 1 1 FULL_WIDTH div 1 E N N
127 32 CONTENT 16 Y A 0 162 161 0 0 1 1 FULL_WIDTH div 1 0 N N
127 32 CONTENT 16 Y A 0 163 161 0 0 1 1 FULL_WIDTH div 1 0 Y Y
120 30 FOOTER 4 my-account-grid Y A 0 2570 2569 0 0 0 1 LEFT div 0 0 N N
117 30 TOP_PANEL 11 Y D 0 2564 0 1 0 1 0 FULL_WIDTH div 1 0 N N
118 30 HEADER 10 mob-flex Y A 0 2567 0 1 0 0 0 FULL_WIDTH div 0 0 N N
120 30 FOOTER 4 demo-store-grid Y A 0 2571 2569 1 0 0 0 LEFT div 0 0 N N
127 32 CONTENT 16 diller Y A 0 160 0 2 0 1 1 FULL_WIDTH div 1 O ut2-bottom N N
120 30 FOOTER 16 Y A 0 816 0 2 0 1 1 FULL_WIDTH div 1 0 ut2-top-bottom N N
120 30 FOOTER 4 customer-service-grid Y A 0 2572 2569 2 0 0 0 LEFT div 0 0 N N
118 30 HEADER 4 top-phones Y A 0 2568 0 3 0 1 0 FULL_WIDTH div 1 0 N N
120 30 FOOTER 4 about-grid Y A 0 2573 2569 3 0 1 0 LEFT div 1 0 N N
127 32 CONTENT 16 Y A 0 161 0 4 0 1 1 FULL_WIDTH div 1 E ut2-top-bottom N N
127 32 CONTENT 16 Y A 0 164 0 6 0 1 1 FULL_WIDTH div 1 E ut2-top-bottom N N