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, 655, 656) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00168

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,655,656))",
            "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
655 164 CONTENT 16 Y A 0 862 0 0 0 1 1 FULL_WIDTH div 1 S F N N no
656 164 FOOTER 16 ty-footer-menu b-top N A 0 1347 0 0 0 1 1 FULL_WIDTH div 1 S E 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
655 164 CONTENT 16 Y A 0 865 864 0 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 Y A 0 866 864 0 0 1 1 FULL_WIDTH div 1 S 0 N N with_lazy_load
655 164 CONTENT 5 small-banner Y A 0 868 867 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 big-banner Y A 0 869 867 0 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 5 small-banner Y A 0 870 867 0 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 8 Y D 0 879 878 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 Y A 0 1272 1254 0 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1280 1279 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1284 1283 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1288 1287 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1292 1291 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 Y A 0 1297 1296 0 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 5 Y A 0 1344 1343 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 3 my-account-grid N A 0 1348 1347 0 0 0 1 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 4 N A 0 1353 1352 0 0 0 1 LEFT div 0 S 0 N N no
656 164 FOOTER 16 ty-footer-grid__full-width footer-copyright N A 0 1352 0 1 0 1 1 FULL_WIDTH div 1 S O 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
655 164 CONTENT 8 Y D 0 880 878 1 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1255 1254 1 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1281 1279 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1285 1283 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1289 1287 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1293 1291 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1345 1343 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 2 demo-store-grid N A 0 1349 1347 1 0 0 0 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 12 N A 0 1354 1352 1 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 hidden-desktop Y A 0 863 0 2 0 1 1 FULL_WIDTH div 1 S O ut2-top-bottom N N no
655 164 CONTENT 16 Y A 0 1253 878 2 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1256 1254 2 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 6 Y A 0 1282 1279 2 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 6 Y A 0 1286 1283 2 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 6 Y A 0 1290 1287 2 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 6 Y A 0 1294 1291 2 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 5 Y A 0 1346 1343 2 0 1 0 FULL_WIDTH div 1 S 0 N N no
656 164 FOOTER 2 customer-service-grid N A 0 1350 1347 2 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1257 1254 3 0 0 0 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 2 about-grid N A 0 1351 1347 3 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 hidden-phone Y A 0 864 0 4 0 1 1 FULL_WIDTH div 1 S O ut2-top-bottom N N no
655 164 CONTENT 4 Y A 0 1258 1254 4 0 1 0 FULL_WIDTH div 1 S 0 N N no
656 164 FOOTER 2 N A 0 1356 1347 4 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1259 1254 5 0 0 1 FULL_WIDTH div 0 S 0 N N no
656 164 FOOTER 5 N A 0 1355 1347 5 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 Y D 0 1279 0 6 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1260 1254 6 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1261 1254 7 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 Y A 0 1295 0 8 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1262 1254 8 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1263 1254 9 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 custom-blocks Y A 0 1283 0 10 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 4 Y A 0 1264 1254 10 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1265 1254 11 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 Y A 0 1343 0 12 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1266 1254 12 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 4 Y A 0 1267 1254 13 0 0 1 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 Y A 0 871 0 14 0 1 1 FULL_WIDTH div 1 S O ut2-bottom N N no
655 164 CONTENT 4 Y A 0 1268 1254 14 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 4 Y A 0 1269 1254 15 0 0 0 FULL_WIDTH div 0 S 0 N N no
655 164 CONTENT 16 custom-blocks Y A 0 1287 0 16 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 4 Y A 0 1270 1254 16 0 1 0 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 banners-grid hidden-phone Y D 0 867 0 18 0 1 1 FULL_WIDTH div 1 S E ut2-bottom N N no
655 164 CONTENT 16 hidden-phone Y A 0 872 0 20 0 1 1 FULL_WIDTH div 1 S O ut2-bottom N N no
655 164 CONTENT 16 promotion_blog Y A 0 874 0 22 0 1 1 FULL_WIDTH div 1 S E N N no
655 164 CONTENT 16 Y A 0 1273 0 24 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 fill--gray Y A 0 873 0 26 0 1 1 FULL_WIDTH div 1 S E ut2-top-bottom N N no
655 164 CONTENT 16 custom-blocks Y A 0 1254 0 28 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 16 custom-blocks Y A 0 875 0 30 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 16 pd-all Y A 0 876 0 32 0 1 1 FULL_WIDTH div 1 S E ut2-bottom N N no
655 164 CONTENT 16 Y A 0 877 0 34 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 16 home_para_section custom-blocks Y A 0 1296 0 36 0 1 1 FULL_WIDTH div 1 S O N N no
655 164 CONTENT 16 Y A 0 878 0 38 0 1 1 FULL_WIDTH div 1 S O ut2-bottom N N no
655 164 CONTENT 16 Y D 0 1291 0 40 0 1 1 FULL_WIDTH div 1 S 0 N N no
655 164 CONTENT 16 Y A 0 1274 0 42 0 1 1 FULL_WIDTH div 1 S 0 N N no