SELECT 
  c.* 
FROM 
  cscart_bm_containers as c 
WHERE 
  1 
  AND c.location_id = 31 
  AND c.company_id = 0

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.05"
    },
    "table": {
      "table_name": "c",
      "access_type": "ref",
      "possible_keys": [
        "location_id",
        "location_id_company_id",
        "location_id_position_company_id"
      ],
      "key": "location_id_position_company_id",
      "used_key_parts": [
        "location_id"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 3,
      "rows_produced_per_join": 0,
      "filtered": "10.00",
      "index_condition": "(`betaatif_store`.`c`.`company_id` = 0)",
      "cost_info": {
        "read_cost": "0.75",
        "eval_cost": "0.03",
        "prefix_cost": "1.05",
        "data_read_per_join": "122"
      },
      "used_columns": [
        "container_id",
        "location_id",
        "position",
        "width",
        "user_class",
        "linked_to_default",
        "status",
        "company_id"
      ]
    }
  }
}

Result

container_id location_id position width user_class linked_to_default status company_id
121 31 TOP_PANEL 16 Y A 0
122 31 HEADER 16 N A 0
123 31 CONTENT 16 content-grid Y A 0
124 31 FOOTER 16 Y A 0