SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a65f0e45a58c491f73fd7006a6f5cf41eef3cc84a5b3efffee8f36e24c0b5ba' 
  AND token = 'CuYXKZWkoEW6ewOflwQdln6QQNVNwGHkgKuAKZh3Ps0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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