SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30b984c5314c87944fc171f2646dfaf9b50a24e54eff539f486d8f0c699948e1' 
  AND token = 'TqMRXQcA/+M2qx7mua6TNuzPx8bYO58NH4tlsKYKQEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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