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

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}

Result

MAX(rating)