SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ec99bb923e0864637a56d6687c942c3e1462b6af164804643efca262e84c96a' 
  AND token = 'z9w5bM667C4r2p2RYZNiSIQ3dUzVtBrPJ67tXTMI/UA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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