SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '087a2df6a491ce235c5ad383bf01635cfa11ac5023c97282c969c59cd1b8ca46' 
  AND token = 'SNwn5UYDFOWd8Ney8LpN2GzoYVMZ0pb9A1XTarhkzmo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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