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 (77, 122, 123, 80) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.01"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "12.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": "(`betaatif_store`.`c`.`container_id` in (77,122,123,80))",
            "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": [
              "betaatif_store.c.container_id"
            ],
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 12,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "3.00",
              "eval_cost": "1.20",
              "prefix_cost": "7.01",
              "data_read_per_join": "10K"
            },
            "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_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 abt__ut2_extended abt__ut2_padding abt__ut2_use_lazy_load abt__ut2_show_blocks_in_tabs
77 20 TOP_PANEL 4 top-links-grid Y A 0 96 0 0 0 0 1 LEFT div 0 0 N no
77 20 TOP_PANEL 10 top-links-grid Y A 0 97 0 0 0 0 0 RIGHT div 0 0 N no
77 20 TOP_PANEL 2 top-links-grid Y A 0 98 0 0 0 1 0 RIGHT div 1 0 N no
80 20 FOOTER 16 ty-footer-grid__full-width footer-stay-connected Y A 0 106 0 0 0 1 1 FULL_WIDTH div 1 0 N no
80 20 FOOTER 16 ty-footer-grid__full-width ty-footer-menu Y A 0 109 0 0 0 1 1 FULL_WIDTH div 1 0 N no
80 20 FOOTER 16 ty-footer-grid__full-width footer-copyright Y A 0 114 0 0 0 1 1 FULL_WIDTH div 1 0 N no
122 31 HEADER 5 top-logo-grid N A 0 152 0 0 0 0 1 FULL_WIDTH div 0 0 N no
122 31 HEADER 6 vendor-stores-block-grid N A 0 153 0 0 0 0 0 FULL_WIDTH div 0 0 N no
122 31 HEADER 5 cart-content-grid N A 0 154 0 0 0 1 0 RIGHT div 1 0 N no
122 31 HEADER 16 vendor-info-grid N A 0 155 0 0 0 1 1 FULL_WIDTH div 1 0 N no
123 31 CONTENT 16 breadcrumbs-grid Y A 0 159 0 0 0 1 1 FULL_WIDTH div 1 0 N no
123 31 CONTENT 4 side-grid Y A 0 160 0 0 0 0 1 FULL_WIDTH div 0 0 N no
123 31 CONTENT 12 main-content-grid Y A 0 161 0 0 0 1 0 FULL_WIDTH div 1 0 N no
80 20 FOOTER 8 Y A 0 107 106 0 0 0 1 LEFT div 0 0 N no
80 20 FOOTER 8 Y A 0 108 106 0 0 1 0 RIGHT div 1 0 N no
80 20 FOOTER 4 my-account-grid Y A 0 110 109 0 0 0 1 FULL_WIDTH div 0 0 N no
80 20 FOOTER 4 demo-store-grid Y A 0 111 109 0 0 0 0 LEFT div 0 0 N no
80 20 FOOTER 4 customer-service-grid Y A 0 112 109 0 0 0 0 LEFT div 0 0 N no
80 20 FOOTER 4 about-grid Y A 0 113 109 0 0 1 0 LEFT div 1 0 N no
80 20 FOOTER 8 Y A 0 115 114 0 0 0 1 LEFT div 0 0 N no
80 20 FOOTER 8 Y A 0 116 114 0 0 1 0 RIGHT div 1 0 N no
122 31 HEADER 4 vendor-logo-grid N A 0 156 155 0 0 0 1 FULL_WIDTH div 0 0 N no
122 31 HEADER 6 vendor-search-grid N A 0 157 155 0 0 0 0 FULL_WIDTH div 0 0 N no
122 31 HEADER 6 vendor-information-grid N A 0 158 155 0 0 1 0 FULL_WIDTH div 1 0 N no