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 (224485, 224486, 224487, 224488) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00196

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 (224485,224486,224487,224488))"
          }
        },
        {
          "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
224485 56113 TOP_PANEL 16 hidden-phone hidden-tablet N A 0 448664 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224486 56113 HEADER 16 et-mobile-header hidden-desktop N A 0 448671 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224487 56113 CONTENT 16 Y A 0 448678 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224488 56113 FOOTER 16 N D 0 448688 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224485 56113 TOP_PANEL 12 top-links-grid space-top N A 0 448665 448664 0 0 0 1 LEFT div 0 0 N N N
224485 56113 TOP_PANEL 4 et-flex-left N D 0 448668 448667 0 0 0 1 FULL_WIDTH div 0 0 N N N
224485 56113 TOP_PANEL 8 et-flex-center N A 0 448669 448667 0 0 0 0 FULL_WIDTH div 0 0 N N N
224485 56113 TOP_PANEL 4 et-flex-right N D 0 448670 448667 0 0 1 0 FULL_WIDTH div 1 0 N N N
224486 56113 HEADER 16 et-mobile-header hidden-desktop N A 0 448672 448671 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224486 56113 HEADER 2 et-phone-vendor-menu N A 0 448674 448673 0 0 0 1 FULL_WIDTH div 0 0 N N N
224487 56113 CONTENT 5 Y A 0 448680 448679 0 0 0 1 FULL_WIDTH div 0 0 N N N
224487 56113 CONTENT 8 Y A 0 448684 448681 0 0 0 1 FULL_WIDTH div 0 0 N N N
224488 56113 FOOTER 16 N A 0 448690 448689 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224488 56113 FOOTER 16 space-top N A 0 448694 448689 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224488 56113 FOOTER 16 space-top N D 0 448698 448689 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224488 56113 FOOTER 3 N D 0 448691 448690 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 9 N A 0 448695 448694 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 9 N A 0 448699 448698 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 12 N A 0 448703 448702 0 0 0 1 LEFT div 0 0 N N Y
224488 56113 FOOTER 5 N A 0 448712 448705 0 0 0 1 FULL_WIDTH div 0 0 N N N
224485 56113 TOP_PANEL 4 top-links-grid et-header-right space-top N A 0 448666 448664 1 0 1 0 RIGHT div 1 0 N N N
224486 56113 HEADER 14 et-phone-search N A 0 448676 448673 1 0 1 0 FULL_WIDTH div 1 0 N N N
224487 56113 CONTENT 6 Y A 0 448682 448679 1 0 0 0 FULL_WIDTH div 0 0 N N N
224487 56113 CONTENT 8 Y A 0 448685 448681 1 0 1 0 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 3 N D 0 448693 448690 1 0 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 4 N A 0 448696 448694 1 0 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 1 N A 0 448706 448698 1 0 0 0 FULL_WIDTH div 0 0 N N N
224488 56113 FOOTER 4 N A 0 448704 448702 1 0 1 0 RIGHT div 1 0 N N N
224488 56113 FOOTER 6 N A 0 448713 448705 1 0 0 0 FULL_WIDTH div 0 0 N N N
224485 56113 TOP_PANEL 16 et-mobile-top-panel hidden-desktop N A 0 448667 0 2 0 1 1 FULL_WIDTH div 1 0 N N N
224486 56113 HEADER 16 et-mobile-header et-sticky hidden-desktop N A 0 448673 0 2 0 1 1 FULL_WIDTH div 1 0 N N N
224487 56113 CONTENT 8 space-top space-bottom contactForm Y A 0 448677 0 2 4 1 1 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 16 ty-footer-grid__full-width ty-footer-menu et-footer-wrapper hidden-tablet hidden-phone N A 0 448689 0 2 0 1 1 FULL_WIDTH div 1 0 N N Y
224487 56113 CONTENT 5 Y A 0 448683 448679 2 0 1 0 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 2 my-account-grid N D 0 448692 448690 2 0 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224488 56113 FOOTER 3 N A 0 448697 448694 2 0 1 0 FULL_WIDTH div 1 0 N N N #ffffff
224488 56113 FOOTER 6 N A 0 448700 448698 2 0 1 0 FULL_WIDTH div 1 0 N N N #ffffff
224488 56113 FOOTER 5 N A 0 448714 448705 2 0 1 0 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 2 N D 0 448708 448690 3 0 0 0 FULL_WIDTH div 0 0 N N N
224486 56113 HEADER 16 hidden-phone hidden-tablet N A 0 448675 0 4 0 1 1 FULL_WIDTH div 1 0 N N Y
224487 56113 CONTENT 16 Y A 0 448686 0 4 0 1 1 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 16 ty-footer-grid__full-width ty-footer-menu et-footer-wrapper hidden-desktop N D 0 448701 0 4 0 1 1 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 3 N D 0 448709 448690 4 0 0 0 FULL_WIDTH div 0 0 N N N
224488 56113 FOOTER 2 N D 0 448711 448690 5 0 1 0 FULL_WIDTH div 1 0 N N Y
224487 56113 CONTENT 16 Y A 0 448679 0 6 0 1 1 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 16 ty-footer-grid__full-width footer-copyright N A 0 448702 0 6 0 1 1 FULL_WIDTH div 1 0 N N Y
224487 56113 CONTENT 16 Y A 0 448681 0 8 0 1 1 FULL_WIDTH div 1 0 N N N
224488 56113 FOOTER 16 mobile-sticky hidden-desktop N A 0 448705 0 8 0 1 1 FULL_WIDTH div 1 0 N N Y
224487 56113 CONTENT 16 Y A 0 448687 0 9 0 1 1 FULL_WIDTH div 0 0 N N N
224488 56113 FOOTER 16 mobile-sticky hidden-desktop N A 0 448707 0 10 0 1 1 FULL_WIDTH div 1 0 N N Y
224488 56113 FOOTER 16 fixed-right N A 0 448710 0 12 0 1 1 FULL_WIDTH div 1 0 N N N