SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '058daafbbac7c28e1afa9168cbc06e23481943bfc36c8d2e0728624e65b6597d' 
  AND token = 'N+W78XyKI50ldiJQRdiEjfvRHCmH33qsSOT5mNytH24=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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