SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a32b170430e171d5af37370d235ca14307d38b07a5b49256baeab3914003baf' 
  AND token = '8UpwOWAtARSnl0cG7GNYHOanDRQuZSCTTgMeKiWQcvI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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