SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c89a6db600791ec60b76bb8d161b7cd8b977ec58c20ab6c858f68c17df36c408' 
  AND token = '+dGE852aCV5PgrDXfkAkEOoeYhrty+jIArM3Wlc7n04=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00065

JSON explain

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