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 (881, 882, 895, 884) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00117

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "36.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": "(`eshopuga_upgr_4122`.`c`.`container_id` in (881,882,895,884))",
            "cost_info": {
              "read_cost": "8.81",
              "eval_cost": "0.80",
              "prefix_cost": "9.61",
              "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": [
              "eshopuga_upgr_4122.c.container_id"
            ],
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 12,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "12.00",
              "eval_cost": "2.40",
              "prefix_cost": "24.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_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
881 221 TOP_PANEL 3 Y A 0 885 0 0 0 0 1 LEFT div 0 0 N N
881 221 TOP_PANEL 13 top-links-grid Y A 0 886 0 0 0 1 0 RIGHT div 1 0 N N
882 221 HEADER 16 top-menu-grid Y A 0 887 0 0 0 1 1 FULL_WIDTH div 1 0 N N
882 221 HEADER 16 second-header-grid top-menu-grid Y A 0 891 0 0 0 1 1 FULL_WIDTH div 1 E N N
884 221 FOOTER 16 ty-footer-menu b-top Y A 0 896 0 0 0 1 1 FULL_WIDTH div 1 E N N
884 221 FOOTER 16 ty-footer-grid__full-width footer-copyright Y A 0 901 0 0 0 1 1 FULL_WIDTH div 1 O N N
895 224 CONTENT 16 Y A 0 929 0 0 0 1 1 FULL_WIDTH div 1 F N N
895 224 CONTENT 16 ut2__subcategories Y A 0 930 0 0 0 1 1 FULL_WIDTH div 1 E ut2-top N N
895 224 CONTENT 16 Y A 0 931 0 0 0 1 1 FULL_WIDTH div 1 O N N
895 224 CONTENT 9 main-content-grid Y A 0 932 0 0 0 0 1 FULL_WIDTH div 0 0 N N
895 224 CONTENT 7 side-grid Y A 0 933 0 0 0 1 0 FULL_WIDTH div 1 0 ut2-bottom N N
895 224 CONTENT 16 b-top fill--white Y A 0 934 0 0 0 1 1 FULL_WIDTH div 1 O ut2-top-bottom N N
882 221 HEADER 4 top-logo Y A 0 888 887 0 0 0 1 FULL_WIDTH div 0 0 N N
882 221 HEADER 9 top-search Y A 0 889 887 0 0 0 0 FULL_WIDTH div 0 0 N N
882 221 HEADER 3 top-buttons Y A 0 890 887 0 0 1 0 FULL_WIDTH div 1 0 N N
882 221 HEADER 4 l-v-menu Y A 0 892 891 0 0 0 1 FULL_WIDTH div 0 0 N N
882 221 HEADER 12 r-h-menu Y A 0 893 891 0 0 1 0 FULL_WIDTH div 1 0 N N
884 221 FOOTER 4 my-account-grid Y A 0 897 896 0 0 0 1 LEFT div 0 0 N N
884 221 FOOTER 4 demo-store-grid Y A 0 898 896 0 0 0 0 LEFT div 0 0 N N
884 221 FOOTER 4 customer-service-grid Y A 0 899 896 0 0 0 0 LEFT div 0 0 N N
884 221 FOOTER 4 about-grid Y A 0 900 896 0 0 1 0 LEFT div 1 0 N N
884 221 FOOTER 8 Y A 0 902 901 0 0 0 1 LEFT div 0 0 N N
884 221 FOOTER 8 Y A 0 903 901 0 0 1 0 RIGHT div 1 0 N N