SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e89c152d3038379380e5706bbf5f2fa523484977e7517f31fd15b3d1ffa9b63' 
  AND token = 'MHgfsCHtC1O4RjpgAinD7YyIAhVDGnoinNETYpmSAYU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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