SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87a30cf1ba57a08bd4d8cbe58531405755b9b6d1d16138b691b15fbb376ef69d' 
  AND token = 'v0HVHXe2jzXClB0ncyshGdSXOwjMmOHq4veHCVutxIM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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