SELECT 
  MAX(rating) 
FROM 
  jmj_absolute_rating 
WHERE 
  `object_type` = 'company'

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "2.41"
    },
    "table": {
      "table_name": "jmj_absolute_rating",
      "access_type": "ALL",
      "rows_examined_per_scan": 2,
      "rows_produced_per_join": 1,
      "filtered": "50.00",
      "cost_info": {
        "read_cost": "2.21",
        "eval_cost": "0.20",
        "prefix_cost": "2.41",
        "data_read_per_join": "112"
      },
      "used_columns": [
        "object_type",
        "rating"
      ],
      "attached_condition": "(`jmj_test`.`jmj_absolute_rating`.`object_type` = 'company')"
    }
  }
}

Result

MAX(rating)
2