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 (137, 138, 139, 140) 
ORDER BY 
  g.order, 
  g.parent_id, 
  g.grid_id ASC

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "g.`order`, g.parent_id, g.grid_id",
        "table": {
          "table_name": "g",
          "access_type": "ALL",
          "possible_keys": ["container_id"],
          "rows": 237,
          "filtered": 20.25316429,
          "attached_condition": "g.container_id in (137,138,139,140)"
        }
      }
    },
    "table": {
      "table_name": "c",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["container_id"],
      "ref": ["intels7_intels7db.g.container_id"],
      "rows": 1,
      "filtered": 100
    }
  }
}

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
137 35 TOP_PANEL 16 top-links-grid N D 0 181 0 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 16 N A 0 182 0 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 16 N A 0 190 0 0 0 1 1 FULL_WIDTH div 1
138 35 HEADER 4 top-logo-grid N A 0 191 0 0 0 0 1 FULL_WIDTH div 0
138 35 HEADER 5 search-block-grid N A 0 192 0 0 0 0 0 FULL_WIDTH div 0
138 35 HEADER 4 ty-cr-content-grid N A 0 193 0 0 0 0 0 FULL_WIDTH div 0
138 35 HEADER 3 cart-content-grid N A 0 194 0 0 0 1 0 RIGHT div 1
138 35 HEADER 16 top-menu-grid N D 0 195 0 0 0 1 1 FULL_WIDTH div 1
138 35 HEADER 16 banner-grig N A 0 196 0 0 0 1 1 FULL_WIDTH div 1
139 35 CONTENT 16 Y A 0 201 0 0 0 1 1 FULL_WIDTH div 1
140 35 FOOTER 16 ty-footer-grid__full-width footer-stay-connected N A 0 210 0 0 0 1 1 FULL_WIDTH div 1
140 35 FOOTER 16 ty-footer-grid__full-width ty-footer-menu N A 0 212 0 0 0 1 1 FULL_WIDTH div 1
140 35 FOOTER 16 ty-footer-grid__full-width footer-copyright N A 0 217 0 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 16 N A 0 183 182 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 16 banner-grid N A 0 189 182 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 16 menu-logo-grid N A 0 184 183 0 0 1 1 FULL_WIDTH div 1
137 35 TOP_PANEL 3 header-logo N A 0 185 184 0 0 0 1 FULL_WIDTH div 0
137 35 TOP_PANEL 9 main-menu N A 0 186 184 0 0 0 0 FULL_WIDTH div 0
137 35 TOP_PANEL 2 topcart N A 0 187 184 0 0 0 0 FULL_WIDTH div 0
137 35 TOP_PANEL 2 topcart N A 0 188 184 0 0 1 0 FULL_WIDTH div 1
138 35 HEADER 16 banner-grid N A 0 197 196 0 0 1 1 FULL_WIDTH div 1
138 35 HEADER 12 menu-logo-grid N D 0 198 196 0 2 1 1 FULL_WIDTH div 1
138 35 HEADER 4 N A 0 199 198 0 0 0 1 FULL_WIDTH div 0
138 35 HEADER 8 N A 0 200 198 0 0 1 0 FULL_WIDTH div 1
140 35 FOOTER 8 newslater N A 0 211 210 0 0 1 1 FULL_WIDTH div 1
140 35 FOOTER 4 my-account-grid N A 0 213 212 0 0 0 1 LEFT div 0
140 35 FOOTER 4 demo-store-grid N A 0 214 212 0 0 0 0 LEFT div 0
140 35 FOOTER 4 customer-service-grid N A 0 215 212 0 0 0 0 LEFT div 0
140 35 FOOTER 4 about-grid N A 0 216 212 0 0 1 0 LEFT div 1
140 35 FOOTER 8 N A 0 218 217 0 0 0 1 LEFT div 0
140 35 FOOTER 8 N A 0 219 217 0 0 1 0 RIGHT div 1
139 35 CONTENT 10 Y A 0 202 0 2 0 0 1 FULL_WIDTH div 0
139 35 CONTENT 6 Y A 0 203 0 3 0 1 0 FULL_WIDTH div 1
139 35 CONTENT 16 main-content-grid Y A 0 204 0 5 0 1 1 FULL_WIDTH div 1
139 35 CONTENT 12 Y A 0 246 0 7 5 1 1 FULL_WIDTH div 1
139 35 CONTENT 16 our-brands-grid Y A 0 205 0 9 0 1 1 FULL_WIDTH div 1
139 35 CONTENT 8 Y A 0 206 0 11 0 0 1 FULL_WIDTH div 0
139 35 CONTENT 8 Y A 0 207 0 12 0 1 0 FULL_WIDTH div 1
139 35 CONTENT 16 reviews-content-grid Y D 0 208 0 14 0 1 1 FULL_WIDTH div 1
139 35 CONTENT 16 footer-content-grid Y A 0 209 0 16 0 1 1 FULL_WIDTH div 1