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

Query time 0.00180

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",
      "used_key_parts": [
        "location_id"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 3,
      "rows_produced_per_join": 0,
      "filtered": "10.00",
      "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"
      ],
      "attached_condition": "(`s2cart`.`c`.`company_id` = 0)"
    }
  }
}

Result

container_id location_id position width user_class linked_to_default status company_id
661 166 TOP_PANEL 16 Y A 0
662 166 HEADER 16 Y A 0
663 166 CONTENT 16 cat-content-grid Y A 0
664 166 FOOTER 16 Y A 0