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 (649, 650, 663, 652) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00106

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.41"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.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": "(`s2cart`.`c`.`container_id` in (649,650,663,652))",
            "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": [
              "s2cart.c.container_id"
            ],
            "rows_examined_per_scan": 4,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "4.00",
              "eval_cost": "1.60",
              "prefix_cost": "8.41",
              "data_read_per_join": "26K"
            },
            "used_columns": [
              "grid_id",
              "container_id",
              "parent_id",
              "order",
              "width",
              "offset",
              "user_class",
              "omega",
              "alpha",
              "wrapper",
              "content_align",
              "html_element",
              "clear",
              "status",
              "section_class",
              "section_width",
              "abt__ut2_extended",
              "abt__ut2_padding",
              "is_tabbed",
              "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 section_class section_width abt__ut2_extended abt__ut2_padding is_tabbed abt__ut2_use_lazy_load abt__ut2_show_blocks_in_tabs
649 163 TOP_PANEL 3 Y A 0 842 0 0 0 0 1 LEFT div 0 S 0 N N no
649 163 TOP_PANEL 13 top-links-grid Y A 0 843 0 0 0 1 0 RIGHT div 1 S 0 N N no
650 163 HEADER 4 top-logo-grid Y A 0 844 0 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
650 163 HEADER 7 top-header-menu Y A 0 845 0 0 0 0 0 FULL_WIDTH div 0 S 0 N N no
650 163 HEADER 5 top-phones Y A 0 846 0 0 0 1 0 FULL_WIDTH div 1 S 0 N N no
650 163 HEADER 16 top-menu-grid Y A 0 847 0 0 0 1 1 FULL_WIDTH div 1 S E N N no
652 163 FOOTER 16 ty-footer-menu b-top Y A 0 854 0 0 0 1 1 FULL_WIDTH div 1 S E N N no
663 166 CONTENT 16 Y A 0 887 0 0 0 1 1 FULL_WIDTH div 1 S F N N no
650 163 HEADER 11 top-left-grid Y A 0 848 847 0 0 0 1 LEFT div 0 S 0 N N no
650 163 HEADER 4 menu-grid Y A 0 849 848 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
650 163 HEADER 7 search-grid Y A 0 850 848 0 0 1 0 FULL_WIDTH div 1 S 0 N N no
652 163 FOOTER 3 my-account-grid Y A 0 855 854 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
652 163 FOOTER 4 Y A 0 860 859 0 0 0 1 LEFT div 0 S 0 N N no
652 163 FOOTER 16 ty-footer-grid__full-width footer-copyright Y A 0 859 0 1 0 1 1 FULL_WIDTH div 1 S O N N no
663 166 CONTENT 16 ut2__subcategories Y A 0 888 0 1 0 1 1 FULL_WIDTH div 1 S E ut2-top N N no
650 163 HEADER 5 account-cart-grid Y A 0 851 847 1 0 1 0 RIGHT div 1 S 0 N N no
652 163 FOOTER 2 demo-store-grid Y A 0 856 854 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
652 163 FOOTER 12 Y A 0 861 859 1 0 1 0 FULL_WIDTH div 1 S 0 N N no
663 166 CONTENT 16 Y A 0 889 0 2 0 1 1 FULL_WIDTH div 1 S O N N no
652 163 FOOTER 2 customer-service-grid Y A 0 857 854 2 0 0 0 FULL_WIDTH div 0 S 0 N N no
663 166 CONTENT 9 main-content-grid Y A 0 890 0 3 0 0 1 FULL_WIDTH div 0 S 0 N N no
652 163 FOOTER 2 about-grid Y A 0 858 854 3 0 0 0 FULL_WIDTH div 0 S 0 N N no
663 166 CONTENT 7 side-grid Y A 0 891 0 4 0 1 0 FULL_WIDTH div 1 S 0 ut2-bottom N N no
652 163 FOOTER 2 Y A 0 1252 854 4 0 0 0 FULL_WIDTH div 0 S 0 N N no
663 166 CONTENT 16 b-top fill--white Y A 0 892 0 5 0 1 1 FULL_WIDTH div 1 S O ut2-top-bottom N N no
652 163 FOOTER 5 Y A 0 1251 854 5 0 1 0 FULL_WIDTH div 1 S 0 N N no