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 (224405, 224406, 224407, 224408) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00248

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 (224405,224406,224407,224408))"
          }
        },
        {
          "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
224405 56093 TOP_PANEL 16 hidden-phone hidden-tablet N A 0 448124 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224405 56093 TOP_PANEL 16 hidden-desktop et-mobile-top-panel N A 0 448127 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224406 56093 HEADER 16 et-mobile-header hidden-desktop N A 0 448133 0 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448143 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224408 56093 FOOTER 16 N D 0 448212 0 0 0 1 1 FULL_WIDTH div 1 0 N N Y
224405 56093 TOP_PANEL 12 top-links-grid space-top N A 0 448125 448124 0 0 0 1 LEFT div 0 0 N N N
224405 56093 TOP_PANEL 8 N A 0 448128 448127 0 0 0 1 blocks/grid_wrappers/et_marketplace_menu_vendor_page.tpl FULL_WIDTH div 0 0 N N N
224405 56093 TOP_PANEL 8 et-flex-right N A 0 448132 448127 0 0 1 0 FULL_WIDTH div 1 0 N N N
224405 56093 TOP_PANEL 4 N A 0 448129 448128 0 0 0 1 FULL_WIDTH div 0 0 N N N
224405 56093 TOP_PANEL 4 N A 0 448130 448128 0 0 1 0 FULL_WIDTH div 1 0 N N N
224405 56093 TOP_PANEL 8 N A 0 448131 448128 0 0 1 1 FULL_WIDTH div 1 0 N N N
224406 56093 HEADER 2 et-phone-vendor-menu N A 0 448135 448134 0 0 0 1 FULL_WIDTH div 0 0 N N N
224406 56093 HEADER 14 et-phone-search N A 0 448136 448134 0 0 1 0 FULL_WIDTH div 1 0 N N N
224406 56093 HEADER 3 top-logo-grid N A 0 448138 448137 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224406 56093 HEADER 10 search-block-grid N A 0 448139 448137 0 0 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224406 56093 HEADER 3 cart-content-grid N A 0 448140 448137 0 0 1 0 RIGHT div 1 0 N N N #ffffff
224407 56093 CONTENT 16 et-banner-grid Y A 0 448146 448145 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 8 Y A 0 448147 448146 0 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 8 Y A 0 448154 448153 0 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 16 et-banner-grid Y A 0 448159 448158 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 4 Y A 0 448160 448159 0 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 3 Y A 0 448168 448167 0 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 16 Y A 0 448174 448173 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448175 448174 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448177 448176 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 1 Y D 0 448188 448181 0 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 16 hidden-tablet hidden-desktop Y A 0 448199 448194 0 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 1 Y D 0 448211 448204 0 0 0 1 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 16 N A 0 448214 448213 0 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224408 56093 FOOTER 2 N A 0 448215 448214 0 0 0 1 FULL_WIDTH div 0 0 N N N #ffffff
224408 56093 FOOTER 13 N A 0 448220 448219 0 0 0 1 LEFT div 0 0 N N Y
224408 56093 FOOTER 16 N A 0 448227 448226 0 0 1 1 FULL_WIDTH div 1 0 N N N
224408 56093 FOOTER 10 N A 0 448228 448227 0 0 0 1 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 16 ty-footer-grid__full-width ty-footer-menu et-footer-wrapper hidden-tablet hidden-phone N A 0 448213 0 1 0 1 1 FULL_WIDTH div 1 0 N N Y
224405 56093 TOP_PANEL 4 top-links-grid et-header-right space-top N A 0 448126 448124 1 0 1 0 RIGHT div 1 0 N N N
224407 56093 CONTENT 16 Y D 0 448201 448145 1 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 8 Y A 0 448148 448146 1 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 8 Y A 0 448155 448153 1 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 4 Y A 0 448161 448159 1 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 3 Y A 0 448169 448167 1 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 16 Y A 0 448200 448173 1 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448182 448181 1 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448205 448204 1 0 0 0 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 5 N A 0 448217 448214 1 1 0 0 FULL_WIDTH div 0 0 N N N #ffffff
224408 56093 FOOTER 3 N A 0 448225 448219 1 0 1 0 FULL_WIDTH div 1 0 N N Y
224408 56093 FOOTER 6 N A 0 448229 448227 1 0 1 0 FULL_WIDTH div 0 0 N N N
224406 56093 HEADER 16 et-mobile-header et-sticky hidden-desktop N A 0 448134 0 2 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 12 et-banner-grid space-bottom hidden-phone hidden-tablet Y A 0 448167 0 2 2 1 1 FULL_WIDTH div 1 0 N N N
224408 56093 FOOTER 16 ty-footer-grid__full-width ty-footer-menu et-footer-wrapper hidden-desktop N A 0 448218 0 2 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448192 448146 2 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 4 Y A 0 448162 448159 2 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 3 Y A 0 448170 448167 2 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448183 448181 2 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 4 Y A 0 448195 448194 2 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448206 448204 2 0 0 0 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 4 N A 0 448223 448214 2 0 0 0 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 16 ty-footer-grid__full-width footer-copyright N A 0 448219 0 3 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 4 Y A 0 448149 448146 3 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 4 Y A 0 448163 448159 3 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 3 Y A 0 448171 448167 3 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448184 448181 3 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 4 Y A 0 448196 448194 3 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448207 448204 3 0 0 0 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 16 N A 0 448226 448219 3 0 1 1 FULL_WIDTH div 1 0 N N N
224406 56093 HEADER 16 hidden-phone hidden-tablet et-vendor-main-header N A 0 448137 0 4 0 1 1 FULL_WIDTH div 1 0 N N N #ffffff
224407 56093 CONTENT 14 et-banner-grid space-bottom Y A 0 448204 0 4 1 1 1 FULL_WIDTH div 1 0 N N N
224408 56093 FOOTER 16 mobile-sticky hidden-desktop N A 0 448221 0 4 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 4 Y A 0 448150 448146 4 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448185 448181 4 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 4 Y A 0 448197 448194 4 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 2 Y A 0 448208 448204 4 0 0 0 FULL_WIDTH div 0 0 N N N
224408 56093 FOOTER 4 my-account-grid N A 0 448216 448214 4 0 1 0 FULL_WIDTH div 1 0 N N N #ffffff
224408 56093 FOOTER 16 mobile-sticky hidden-desktop N A 0 448222 0 5 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 8 Y A 0 448151 448146 5 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448186 448181 5 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 4 Y A 0 448198 448194 5 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448209 448204 5 0 0 0 FULL_WIDTH div 0 0 N N N
224406 56093 HEADER 16 hidden-phone hidden-tablet N A 0 448141 0 6 0 1 1 FULL_WIDTH div 1 0 N N Y #ffffff
224407 56093 CONTENT 16 Y A 0 448194 0 6 0 1 1 FULL_WIDTH div 1 0 N N N
224408 56093 FOOTER 16 fixed-right N A 0 448224 0 6 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448202 448146 6 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448187 448181 6 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 2 Y A 0 448210 448204 6 0 1 0 FULL_WIDTH div 1 0 N N N
224406 56093 HEADER 16 N A 0 448142 0 7 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 8 Y A 0 448165 448146 7 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 10 space-top space-bottom p-1 Y A 0 448190 0 8 3 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 8 Y A 0 448166 448146 8 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448203 448146 9 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448191 0 10 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 5 Y A 0 448180 448146 10 0 0 1 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 5 Y A 0 448178 448146 11 0 0 0 FULL_WIDTH div 0 0 N N N
224407 56093 CONTENT 14 et-banner-grid space-bottom hidden-phone hidden-tablet Y A 0 448181 0 12 1 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 6 Y A 0 448179 448146 12 0 1 0 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 et_full_width_block_wrapper_bars hidden-desktop Y A 0 448173 0 14 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 16 space-top space-bottom p-1 Y A 0 448172 0 16 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 et_full_width_block_wrapper_bars Y A 0 448145 0 18 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 16 space-top space-bottom Y A 0 448176 0 20 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448152 0 22 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 et_full_width_block_wrapper_bars Y A 0 448158 0 24 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448144 0 26 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 Y A 0 448156 0 28 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 16 Y A 0 448153 0 30 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 fixed-bottom Y A 0 448157 0 32 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 16 Y A 0 448193 0 34 0 1 1 FULL_WIDTH div 1 0 N N N
224407 56093 CONTENT 16 fixed-bottom-2 Y A 0 448164 0 36 0 1 1 FULL_WIDTH div 1 0 N N Y
224407 56093 CONTENT 16 maintenance Y A 0 448189 0 38 0 1 1 FULL_WIDTH div 1 0 N N Y