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

Query time 0.00040

JSON explain

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

Result

MAX(rating)