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 (224425, 224426, 224427, 224428) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00118

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "47.41"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "19.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",
            "cost_info": {
              "read_cost": "4.81",
              "eval_cost": "0.80",
              "prefix_cost": "5.61",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "container_id",
              "location_id",
              "position",
              "width",
              "user_class",
              "linked_to_default",
              "status",
              "company_id"
            ],
            "attached_condition": "(`webmarco`.`c`.`container_id` in (224425,224426,224427,224428))"
          }
        },
        {
          "table": {
            "table_name": "g",
            "access_type": "ref",
            "possible_keys": [
              "container_id"
            ],
            "key": "container_id",
            "used_key_parts": [
              "container_id"
            ],
            "key_length": "3",
            "ref": [
              "webmarco.c.container_id"
            ],
            "rows_examined_per_scan": 4,
            "rows_produced_per_join": 18,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.00",
              "eval_cost": "3.80",
              "prefix_cost": "28.41",
              "data_read_per_join": "31K"
            },
            "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",
              "et_grid",
              "et_grid_bkg"
            ]
          }
        }
      ]
    }
  }
}

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 et_grid et_grid_bkg
224425 56098 TOP_PANEL 16 hidden-phone hidden-tablet N A 0 448417 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224425 56098 TOP_PANEL 16 hidden-desktop et-mobile-top-panel N A 0 448420 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224426 56098 HEADER 16 et-mobile-header hidden-desktop N A 0 448426 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224426 56098 HEADER 16 et-mobile-header et-sticky hidden-desktop N A 0 448427 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224426 56098 HEADER 16 hidden-phone hidden-tablet et-vendor-main-header N D 0 448430 0 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224426 56098 HEADER 16 hidden-phone hidden-tablet N A 0 448434 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y #ffffff
224427 56098 CONTENT 16 Y A 0 448435 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y #ffffff
224427 56098 CONTENT 16 main-content-grid et-product-wrapper Y A 0 448436 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224428 56098 FOOTER 16 N D 0 448439 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224425 56098 TOP_PANEL 12 top-links-grid space-top N A 0 448418 448417 0 0 0 1 LEFT div 0 0 N N N
224425 56098 TOP_PANEL 8 N D 0 448421 448420 0 0 0 1 blocks/grid_wrappers/et_marketplace_menu_vendor_page.tpl FULL_WIDTH div 0 0 N N N
224425 56098 TOP_PANEL 8 et-flex-right N A 0 448425 448420 0 0 1 0 FULL_WIDTH div 1 0 N N N
224425 56098 TOP_PANEL 4 N A 0 448422 448421 0 0 0 1 FULL_WIDTH div 0 0 N N N
224425 56098 TOP_PANEL 4 N A 0 448423 448421 0 0 1 0 FULL_WIDTH div 1 0 N N N
224425 56098 TOP_PANEL 8 N A 0 448424 448421 0 0 1 1 FULL_WIDTH div 1 0 N N N
224426 56098 HEADER 2 et-phone-vendor-menu N A 0 448428 448427 0 0 0 1 FULL_WIDTH div 0 0 N N N
224426 56098 HEADER 14 et-phone-search N A 0 448429 448427 0 0 1 0 FULL_WIDTH div 1 0 N N N
224426 56098 HEADER 3 top-logo-grid N D 0 448431 448430 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224426 56098 HEADER 10 search-block-grid N D 0 448432 448430 0 0 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224426 56098 HEADER 3 cart-content-grid N A 0 448433 448430 0 0 1 0 RIGHT div 1 0 N N N #ffffff
224427 56098 CONTENT 16 Y A 0 448437 448436 0 0 1 1 FULL_WIDTH div 1 0 N N N
224427 56098 CONTENT 16 et-product-blocks Y A 0 448438 448436 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224428 56098 FOOTER 16 N A 0 448441 448440 0 0 1 1 LEFT div 1 0 N N Y
224425 56098 TOP_PANEL 4 top-links-grid et-header-right space-top N A 0 448419 448417 1 0 1 0 RIGHT div 1 0 N N N
224428 56098 FOOTER 16 ty-footer-grid__full-width footer-copyright N A 0 448440 0 6 0 1 1 FULL_WIDTH div 1 0 N N Y
224428 56098 FOOTER 16 mobile-sticky hidden-desktop N A 0 448442 0 8 0 1 1 FULL_WIDTH div 1 0 N N Y
224428 56098 FOOTER 16 mobile-sticky hidden-desktop N A 0 448443 0 10 0 1 1 FULL_WIDTH div 1 0 N N Y
224428 56098 FOOTER 16 fixed-right N A 0 448444 0 12 0 1 1 FULL_WIDTH div 1 0 N N N