SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20a7678596b7af5a2d42ab7029bd2053abeeec64f9387790623162a04619bd84' 
  AND token = 'QMIvHG9nQBt2zEvlxi84kcW5B849DGzHUuF1AYoriaU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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