SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad37031f239ea447262219ab58081daa30be049bfac1aa5db1e063b9b94224c8' 
  AND token = '9S17jz2xEmAGUC9wGEtxsqI4F25K1R/Mmod5zXfS4TE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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