SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4af6cadcef6179df7d879ba05af69e44f3e9e42f657fe52034fcf58b5e7182b' 
  AND token = '70vCc0N92vCF+t+Ilzw7yOY/ZmXTTjWsUdbiQQpk8lU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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