SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1db500f1c22cd127eacf0d3284dfbc3d4383a5cce54a1645d7e69fb3d2ebbc7' 
  AND token = 'selhzb0DUjUJk8+xfbk3hJjAkjeFC1RRr83HFG1F+bU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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