SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '831ac0202c614858b1f1f73f31c1df603eadf52795b68695636e5cb2b846d079' 
  AND token = 'Bq5McGkQxUn4yBcQOoGnmDuJbyDNlAJ54zasdOHanK0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00129

JSON explain

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