SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01ef5d28b66fe68e1f542553dd1c7450121be8c663ca43ec813f9dd7b4524966' 
  AND token = 'dL9YfC06XZGS9Dn/5z0Fb1Qesn5PGL9EAtb4YCsOoPk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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